Commit a5cdf550 authored by Michal Čihař's avatar Michal Čihař

Better document how settings injection works with OpenShift

Fixes #1050
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent fb2c3a74
...@@ -231,9 +231,9 @@ Customize Weblate Configuration ...@@ -231,9 +231,9 @@ Customize Weblate Configuration
You can customize the configuration of your Weblate installation on OpenShift You can customize the configuration of your Weblate installation on OpenShift
through environment variables. Override any of Weblate's setting documented through environment variables. Override any of Weblate's setting documented
under :ref:`config` using ``rhc env set`` by prepending the settings name with under :ref:`config` using ``rhc env set`` by prepending the settings name with
``WEBLATE_``. The variable is parsed as Python string, after replacing ``WEBLATE_``. The variable content is put verbatim to the configuration file,
environment variables in it (eg. ``$PATH``). To put literal ``$`` you need to so it is parsed as Python string, after replacing environment variables in it
escape it as ``$$``. (eg. ``$PATH``). To put literal ``$`` you need to escape it as ``$$``.
For example override the ``ADMINS`` setting like this: For example override the ``ADMINS`` setting like this:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment