Go to file
2022-07-12 12:23:31 +02:00
static first!1! 2022-07-12 12:04:41 +02:00
templates first!1! 2022-07-12 12:04:41 +02:00
Dockerfile first!1! 2022-07-12 12:04:41 +02:00
Karumbi.ttf first!1! 2022-07-12 12:04:41 +02:00
makeplanche.py first!1! 2022-07-12 12:04:41 +02:00
makesticker.py first!1! 2022-07-12 12:04:41 +02:00
mkjam.sh first!1! 2022-07-12 12:04:41 +02:00
planche.svg.in first!1! 2022-07-12 12:04:41 +02:00
README.md Add README.md 2022-07-12 12:23:31 +02:00
web.py backend: do not pollute repo with output pdfs 2022-07-12 12:15:38 +02:00

zetikettes

ouaich.

Initial setup

docker build -t zetikettes .

Nginx is configured to:

  • redirect /zetikettes/srv/ to localhost:8000
  • redirect /zetikettes/ to /var/lib/zetikettes/static

Conf is in /etc/nginx/sites-available/default

Run

docker run -d --rm -p 8000:8000 -v /var/lib/zetikettes/templates:/data zetikettes

Change available templates

  1. make or update templates
  2. add them to tempaltes/
  3. update static/zetikettes.js
  4. git commit && git push
  5. update /var/lib/zetikettes
  6. no need to restart the container (magic!)
  7. profit.