From 600667c25b39c81f857286c146cfb0385aed0643 Mon Sep 17 00:00:00 2001 From: Martin Winkler Date: Mon, 15 Apr 2019 14:55:28 +0200 Subject: [PATCH] Adding final configuration notes after last "install" step --- seqs/gitea.sh | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/seqs/gitea.sh b/seqs/gitea.sh index e0f1b51..bd25ae7 100755 --- a/seqs/gitea.sh +++ b/seqs/gitea.sh @@ -69,6 +69,32 @@ step_6() { echo "Afterwards please execute step 20 to secure configuration" } +step_7_info() { echo "Show configuration notes"; } +step_7_alias() { ALIAS="config"; } +step_7() { + echo -e "Final configuration notes for app.ini:\n\n" + echo "$CONFIG_NOTES" +} + +CONFIG_NOTES="\ +[repository] +DEFAULT_CLOSE_ISSUES_VIA_COMMITS_IN_ANY_BRANCH = true + +[server] +# Don't show home page +LANDING_PAGE = explore + +[mailer] +# Allow local MTA without valid certificate +SKIP_VERIFY = true + +[service] +# Use correct user identity when changing files in the web frontend +NO_REPLY_ADDRESS = yourdomain.com + +[attachment] +# Allow more archives to be uploaded +ALLOWED_TYPES=application/zip|application/gzip|application/x-zip|application/x-gzip|application/x-shellscript|text/markdown" step_10_info() { echo -e "Create mysql database for $toolName\n"; } step_10() {