blob: 70bad6bcfea8487440fa4ee558bfe1e38a27e865 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
For detailed information, checkout deployment.git/weblate
Quick notes about this configuration:
- weekly cron job runs ~/weblateBackup.sh
- activate virtualenv:
. ~/weblate-env/bin/activate
- `~/celery-weblate` is required by celery-weblate systemd service: https://docs.weblate.org/en/latest/admin/install.html#running-celery-as-system-service
- `settings.py` symlink in /home/weblate goes to the active copy
- Running celery-weblate as a systemd service with local user prvs:
systemd --user start |stop | status celery-weblate
- Running uswgi as systemd service with local user privs.
- Local systemd files belong in /home/weblate/.config/systemd/user
- `DATA_DIR` symlink is referenced in nginx config. Should point to ~/weblate-env/lib/python3.8/site-packages/data
- `webroot` ymlinks referenced in nginx config. At this time, I don't know what this should point to locally. It is the equivalent of /usr/shre/weblate if not running in virtualenv (see nginx config: )
|