Inventory management system https://inventory.waw.hackerspace.pl
 
 
 
 
 
 
Go to file
radex cc6f00da08 docker-compose: clean up dev-override 2023-08-18 16:38:41 +02:00
auth Fix import for oauth 2023-07-11 23:29:39 +02:00
spejstore settings: make redirect_is_https configurable separate from prod 2023-08-18 15:28:57 +02:00
static fix colors in light mode 2023-08-18 15:31:53 +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-compose: clean up dev-override 2023-08-18 16:38:41 +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

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.