Fork 0
Inventory management system
Go to file
palid d71885d264
Revert "hscloud: Add single address authentication"
This reverts commit f1143dc4f1.
2023-09-19 18:21:11 +02:00
auth Revert "auth: do not automatically staff new members" 2023-08-25 21:51:09 +02:00
spejstore Revert "hscloud: Add single address authentication" 2023-09-19 18:21:11 +02:00
static errors: add cute error pages 2023-08-25 21:04:43 +02:00
storage Revert "hscloud: Add single address authentication" 2023-09-19 18:21:11 +02:00
templates auth: add login button 2023-09-09 19:25:44 +02:00
.dockerignore Add overrides to docker-ignore 2023-07-14 22:38:48 +02:00
.gitignore Add .env to .gitignore 2023-07-14 16:28:07 +02:00
Dockerfile Properly collectstatic on docker build 2023-07-17 23:09:11 +02: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 docker-compose: build locally 2023-08-18 13:00:53 +02:00
docker-compose.yml docker-compose: change postgres healthcheck interval to 1s 2023-08-18 15:27:56 +02:00
manage.py Initial commit 2016-09-30 00:04:43 +02:00
requirements.txt add whitenoise lib to serve statics in production w/o nginx 2023-08-18 13:00:32 +02:00
spejstore-dev.env allow localhost in dev 2020-05-12 20:27:08 +02:00



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


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


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.