This site is available publicly at the URL: https://dezede.org
Preferred OS: Debian (latest stable release)
-
Install Docker
-
Add this in a new
/etc/docker/daemon.jsonfile, otherwise users with an IPv6 will not get their IP forwarded to Django, due to a Docker limitation:{ "ip6tables": true, "experimental": true } -
Restart Docker with
systemctl restart docker -
Limit the journalctl log size (it can take several GB after months) by editing
/etc/systemd/journalctl.confand set:[Journal] SystemMaxUse=250Mthen restart it with
systemctl restart systemd-journald -
sysctl -w vm.overcommit_memory=1 >> /etc/sysctl.conf(see redis/docker-library-redis#298 (comment)) -
git submodule init -
git submodule update
- Follow “Common to all installations” above
- In the root project folder, run
docker compose up --build - Visit
http://dezede.localhoston your browser.
- Log as root to the server via SSH
- Follow “Common to all installations” above
- Clone the repository in
/srv/dezede docker compose -f docker-compose.prod.yaml buildcp dezede.service /etc/systemd/system/systemctl daemon-reloadsystemctl start dezede.service
¡ This will delete your local database !
pip install docker-website-backup==2.0.3
dwb clone --no-input dezede.org- Download the latest version of the Transifex client: https://github.com/transifex/cli/releases
- Get the project token on https://transifex.com
tx --hostname https://rest.api.transifex.com --token [PROJECT_TOKEN] push -stx --hostname https://rest.api.transifex.com --token [PROJECT_TOKEN] pull -a./manage.py compilemessages