Go to file
Paul Mathieu f3c2a2f725 Now handles uploading new tempaltes!!1
Just point your browser to /zetikettes/newtikette.html
Password is in web.py
2023-06-28 23:17:03 +02:00
fonts Add DejaVu fonts 2022-07-26 15:50:22 +02:00
static Now handles uploading new tempaltes!!1 2023-06-28 23:17:03 +02:00
templates Add tempaltes and add accents in file names 2023-06-28 11:04:22 +02:00
Dockerfile Add DejaVu fonts 2022-07-26 15:50:22 +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 Now handles uploading new tempaltes!!1 2023-06-28 23:17:03 +02:00
tikettes.json Now handles uploading new tempaltes!!1 2023-06-28 23:17:03 +02:00
web.py Now handles uploading new tempaltes!!1 2023-06-28 23:17:03 +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. go to /zetikettes/newtikette.html
  2. add the newtikette
  3. still no need to restart the container (magic!)
  4. profit.