Go to file
2025-08-05 22:24:57 +02:00
backend Fix planche generation issues 2025-08-05 20:58:51 +02:00
frontend Point frontend to production backend 2025-08-05 22:20:22 +02:00
scripts Add utility scripts 2025-08-05 22:24:57 +02:00
templates Moving fast and breaking things 2025-08-05 15:14:25 +02:00
.gitignore Update .gitignore 2023-07-03 16:35:32 +02:00
compose.yml Moving fast and breaking things 2025-08-05 15:14:25 +02:00
docker-compose@.service Moving fast and breaking things 2025-08-05 15:14:25 +02:00
Dockerfile This time we have the correct font 2025-08-05 21:42:23 +02:00
Makefile Moving fast and breaking things 2025-08-05 15:14:25 +02:00
nginx_locations Add example system config files 2023-08-03 18:00:27 +02:00
README.md Moving fast and breaking things 2025-08-05 15:14:25 +02:00

zetikettes 2.0

ouaich. tavu.

NOTE: release 2.0 broke compatibility with previous "releases". Maxime has all the recent data to repopulate a new database.

Initial setup

Database setup and population

Populate an empty database (if none already exists):

sudo make initial-db

This will setup an initial database under /var/lib/zetikettes/data

Optionally, you may need credentials to access the admin page:

make superuser

System service

sudo mkdir -p /etc/docker/compose/zetikettes
sudo cp compose.yml /etc/docker/compose/zetikettes/
sudo systemctl enable --now docker-compose@zetikettes

If not already present in /etc/systemd/system/, the docker-compose@ service file is provided.

www static files

make staticfiles

This will install frontend and django admin static files under /var/lib/zetikettes

Nginx

Example configuration is provided in nginx_locations.

Nginx is configured to:

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