diff options
author | buckE <buckE@disroot.org> | 2020-05-04 06:50:41 +0000 |
---|---|---|
committer | buckE <buckE@disroot.org> | 2020-05-04 06:50:41 +0000 |
commit | 0d67bb027eb192ee208f9862829f16ff5257f947 (patch) | |
tree | b5c85d233bec55b25ed3a71f8e465e1880fc7059 | |
parent | 36a318fc740b7c738badd33c47aea42bc21fa8be (diff) | |
download | deployment-0d67bb027eb192ee208f9862829f16ff5257f947.tar.gz deployment-0d67bb027eb192ee208f9862829f16ff5257f947.tar.bz2 deployment-0d67bb027eb192ee208f9862829f16ff5257f947.zip |
added uprade info to SETUP-NOTES.md
-rw-r--r-- | weblate/SETUP-NOTES.md (renamed from weblate/SETUP.md) | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/weblate/SETUP.md b/weblate/SETUP-NOTES.md index a832d2f..b5e11fa 100644 --- a/weblate/SETUP.md +++ b/weblate/SETUP-NOTES.md @@ -9,6 +9,24 @@ Always refer to https://docs.weblate.org/ if necessary, or just for a good laugh See latest recommendations: https://docs.weblate.org/en/latest/admin/upgrade.html?highlight=upgrade#generic-upgrade-instructions +Current process: + +``` +$ . ~/weblate-env/bin/activate + +$ systemctl --user stop celery-weblate + +$ systemctl --user stop uwsgi-weblate + +$ pip install -U Weblate + +$ maybe re-build settings.py from ~/weblate-env/lib/python3.8/site-packages/weblate/settings_example.py + +$ weblate collectstatic --noinput + +$ weblate check --deploy +``` + ### Basic structure: This weblate instance runs as a python3 virtualenv under non-priv `/home/weblate`. @@ -37,6 +55,9 @@ https://docs.weblate.org/en/latest/admin/install/venv-debian.html Must manually create 'weblate' database DB Credentials added to `settings.py` "DATABASES" section +Do this: + `psql=> CREATE EXTENSION pg_trgm;`` + #### e-mail weblate@taler.net @@ -102,6 +123,14 @@ Our needs require running weblate under `weblate` user as a non-priv service. T * Commands: `$ systemctl --user enable | disable | start | stop | status *servicename*` +#### rollbar + +For error collection: https://docs.weblate.org/en/weblate-4.0.2/admin/install.html#collecting-errors + +(in virtualenv): `$ pip install rollbar` + + + ### Running Weblate After installing and customizing, log into `weblate` shell account, and invoke virtualenv: |