aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-05-25 11:47:30 +0800
committerGitHub <noreply@github.com>2023-05-25 03:47:30 +0000
commit5f39285d6d3f365a44a828b0d8e7c5e0928a32f0 (patch)
treec291b105bda142620af94c0c666f5fc5c86fea1a /docs
parent694b38b880b28cf0b6f643a02617e8652972e57c (diff)
downloadgitea-5f39285d6d3f365a44a828b0d8e7c5e0928a32f0.tar.gz
gitea-5f39285d6d3f365a44a828b0d8e7c5e0928a32f0.zip
Improve RunMode / dev mode (#24886)
1. non-dev mode is treated as prod mode, to protect users from accidentally running in dev mode if there is a typo in this value. 2. in dev mode, do not need to really exit if there are template errors, because the template errors could be fixed by developer soon and the templates get reloaded, help: * https://github.com/go-gitea/gitea/issues/24845#issuecomment-1557615382 3. Fine tune the mail template loading message.
Diffstat (limited to 'docs')
-rw-r--r--docs/content/doc/administration/config-cheat-sheet.en-us.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/doc/administration/config-cheat-sheet.en-us.md b/docs/content/doc/administration/config-cheat-sheet.en-us.md
index e7e482fc79..9bb2533dac 100644
--- a/docs/content/doc/administration/config-cheat-sheet.en-us.md
+++ b/docs/content/doc/administration/config-cheat-sheet.en-us.md
@@ -73,7 +73,7 @@ In addition there is _`StaticRootPath`_ which can be set as a built-in at build
- `RUN_USER`: **_current OS username_/`$USER`/`$USERNAME` e.g. git**: The user Gitea will run as.
This should be a dedicated system (non-user) account. Setting this incorrectly will cause Gitea
to not start.
-- `RUN_MODE`: **prod**: Application run mode, affects performance and debugging. Either "dev", "prod" or "test".
+- `RUN_MODE`: **prod**: Application run mode, affects performance and debugging: `dev` or `prod`, default is `prod`. Mode `dev` makes Gitea easier to develop and debug, values other than `dev` are treated as `prod` which is for production use.
## Repository (`repository`)