Go to file
Dariusz Niemczyk d36a84e25b
fix: very dumb accidental commit of ALLOWED_HOSTS
2024-01-14 15:21:35 +01:00
.devcontainer vscode: Add .devcontainer support 2023-12-03 19:54:29 +01:00
auth Revert "auth: do not automatically staff new members" 2023-08-25 21:51:09 +02:00
spejstore fix: very dumb accidental commit of ALLOWED_HOSTS 2024-01-14 15:21:35 +01:00
static errors: add cute error pages 2023-08-25 21:04:43 +02:00
storage fix: make wiki link nullable 2024-01-14 00:24:44 +01:00
templates fix: wrong static template tag usage 2024-01-14 13:52:59 +01:00
.dockerignore fix: properly use threads and workers 2024-01-14 13:53:39 +01:00
.env.example fix: add csrf config 2024-01-14 15:15:14 +01:00
.gitignore Add .env to .gitignore 2023-07-14 16:28:07 +02:00
Dockerfile fix: properly use threads and workers 2024-01-14 13:53:39 +01:00
README.md improve readme for docker-compose newbs 2023-08-21 21:38:13 +02:00
docker-compose.dev-override.yml auth: cleanup 2023-09-09 19:26:36 +02:00
docker-compose.prod-override.yml fix: weird docker compose hacks 2024-01-13 23:30:50 +01:00
docker-compose.yml fix: properly use threads and workers 2024-01-14 13:53:39 +01:00
manage.py Initial commit 2016-09-30 00:04:43 +02:00
requirements.txt fix: bump django version 2024-01-12 18:57:02 +01:00
spejstore-dev.env fix: weird docker compose hacks 2024-01-13 23:30:50 +01:00

README.md

spejstore

Because there is not enough general inventory software invented here yet. Please use Python3, for the love of $deity...

Usage

Quick start

  1. Run:
    ln -s docker-compose.dev-override.yml docker-compose.override.yml
    docker-compose up --build
    
  2. Run docker-compose run --rm web python manage.py createsuperuser -- now you can dev authenticate w/o SSO

Build & run

docker-compose up --build

# if you need to reset built static files and/or postgres database:
docker-compose up --build --renew-anon-volumes

Troubleshooting

New docs (WIP):

Spejstore is a simple inventory system made for Warsaw Hackerspace purposes. Includes some features very specific to hswaw requirements, which are:

  • Label printing and label-system support (via django-rest-api api views and SPEJSTORE_LABEL_API env variable), using the spejstore-labelmaker software
  • Publically viewing all items and requiring users to sign in view oauth to manage inventory via django-admin
  • Authorizing label printing via local network only, see SPEJSTORE_LAN_ALLOWED_ADDRESS_SPACE env variable

Currently inventory is deployed under inventory.waw.hackerspace.pl, with a Beyondspace NGINX configuration, which allows the inventory to be accessible from outside of the Warsaw Hackerspace network with a necessary oauth authorization, but does not allow printing of labels without physically being in the local network of HSWAW.