summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: