5903c6bd36aac75d9a56e57963569ac05b43aed5
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/
tolocalhost:8000
- redirect
/zetikettes/
to/var/lib/zetikettes/frontend
- redirect
/zetikettes/srv/static
to/var/lib/zetikettes/www_static
Description
v2.0.0
Latest
Languages
Python
62.2%
JavaScript
19.2%
HTML
12.4%
Makefile
3.1%
CSS
1.9%
Other
1.2%