Go to file
radex e3229ffd7e Docker: fix broken build_static 2023-08-17 14:21:10 +02:00
auth Fix import for oauth 2023-07-11 23:29:39 +02:00
spejstore authentication: always require if defined env 2023-08-13 20:10:00 +02:00
static Hack: admin props combobox works(?) 2023-07-17 23:04:30 +02:00
storage authentication: always require if defined env 2023-08-13 20:10:00 +02:00
templates Add terrible dark mode for inventory 2023-07-11 18:34:18 +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 WIP new docs 2023-07-23 17:31:46 +02:00
docker-compose.dev-override.yml Docker: update dev overrides so that app starts 2023-08-17 14:20:39 +02:00
docker-compose.prod-override.yml Pin container versions, simplify initial setup 2020-05-12 20:56:44 +02:00
docker-compose.yml Docker: fix broken build_static 2023-08-17 14:21:10 +02:00
manage.py Initial commit 2016-09-30 00:04:43 +02:00
requirements.txt Migrate old django to the newest version 2023-07-11 17:52:38 +02:00
spejstore-dev.env allow localhost in dev 2020-05-12 20:27:08 +02: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

Rebuild

docker-compose build

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.