A selfhosted snus collection manager.
Features:
- import snus from multiple sites
- track inventory across multiple locations
Planned features:
- track snus usage
# 1. create a directory for the database
mkdir db
# 2. run the container image
docker run -it -p 8000:8000 -v ./db/:/app/db/ ghcr.io/dokutan/snusmanager:latest
# or
podman run -it -p 8000:8000 -v ./db/:/app/db/ ghcr.io/dokutan/snusmanager:latest
# 3. visit http://localhost:8000cd backend
flask --app snusmanager.py run
# http://localhost:5000/apidocs/
cd frontend
ng serve
# http://localhost:4200/cd frontend
ng build
cp -r dist ../backend
cd ../backend
gunicorn snusmanager:app --bind "[::]:8000"cd frontend
ng build
cd ..
podman build . -t ghcr.io/dokutan/snusmanager:latest
podman run -it -p 8000:8000 -v ./db/:/app/db/ ghcr.io/dokutan/snusmanager:latestAGPL-3.0
