zetikettes/README.md
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

548 B

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.