You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/config.rst
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ The configuration options are:
15
15
16
16
- **SQLALCHEMY_DATABASE_URI**: the database configuration. See the SQLAlchemy documentation for more info
17
17
- **SQLALCHEMY_ENGINE_OPTION_PRE_PING**: DB Disconnect Handling, emitting a test statement on the SQL connection at the start of each connection pool checkout (default: ``False``)
18
-
- **SECRET_KEY**: secret key to set when enabling authentication. Use the output of ``invoke create_secret_key`` to set this value
18
+
- **SECRET_KEY**: secret key to set when enabling authentication. Use the output of ``invoke create-secret-key`` to set this value
19
19
- **GHC_RETENTION_DAYS**: the number of days to keep Run history
20
20
- **GHC_PROBE_HTTP_TIMEOUT_SECS**: stop waiting for the first byte of a Probe response after the given number of seconds
21
21
- **GHC_MINIMAL_RUN_FREQUENCY_MINS**: minimal run frequency for Resource that can be set in web UI
@@ -51,7 +51,7 @@ The configuration options are:
51
51
Example on overriding the configuration with an environment variable: ::
52
52
53
53
export GHC_SETTINGS=/tmp/my_GHC_settings.py
54
-
invoke run_tests
54
+
invoke run-tests
55
55
56
56
As an example: the `my_GHC_settings.py` file can contain a single line to define a test database: ::
57
57
@@ -111,7 +111,7 @@ This is the preferred mode as each `Resource` can have its own schedule (configu
111
111
via Dashboard) and `cron` has dependencies on local environment.
112
112
Later versions may phase out cron-scheduling completely.
113
113
114
-
The **GHC Runner** can be run via the command `invoke runner_daemon` or can run internally within
114
+
The **GHC Runner** can be run via the command `invoke runner-daemon` or can run internally within
115
115
the **GHC Webapp** by setting the config variable **GHC_RUNNER_IN_WEBAPP** to `True` (the default).
116
116
NB it is still possible to run GHC as in the pre-v0.5.0 mode using cron-jobs: just run the
117
117
**GHC Webapp** with **GHC_RUNNER_IN_WEBAPP** set to `False` and have your cron-jobs scheduled.
@@ -153,7 +153,7 @@ Compiling Language Files
153
153
........................
154
154
155
155
At runtime compiled versions, `.mo` files, of the language-files are used.
156
-
Easiest to compile is via: `invoke compile_translations` in the project root dir.
156
+
Easiest to compile is via: `invoke compile-translations` in the project root dir.
157
157
This basically calls `pybabel compile` with the proper options.
158
158
Now you can e.g. test your new translations by starting GHC.
159
159
@@ -175,7 +175,7 @@ Missing translations will have `msgstr ""` like in this excerpt: ::
175
175
176
176
Next all empty `msgstr` can be filled.
177
177
178
-
Updating is easiest using the command `invoke update_translations` within the root dir of the project.
178
+
Updating is easiest using the command `invoke update-translations` within the root dir of the project.
179
179
This will basically call `pybabel extract` followed by `pybabel update` with the proper parameters.
0 commit comments