diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-17 14:03:58 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-17 14:03:58 -0400 |
commit | e51afe4621cfbc8380994c818981f42a097e3ec5 (patch) | |
tree | 74e26a6c8fa60ab82f9f1e791693cd178adc5a10 /conf/app.ini | |
parent | 9d3b003add6bee6cb23cbac5d32f6fb3d4fd50cb (diff) | |
download | gitea-e51afe4621cfbc8380994c818981f42a097e3ec5.tar.gz gitea-e51afe4621cfbc8380994c818981f42a097e3ec5.zip |
Add postgres support, clean code, code review
Diffstat (limited to 'conf/app.ini')
-rw-r--r-- | conf/app.ini | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/conf/app.ini b/conf/app.ini index cc7d0a907f..1c7021072f 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -1,10 +1,12 @@ +# App name that shows on every page title APP_NAME = Gogs: Go Git Service +# !!MUST CHANGE TO YOUR USER NAME!! RUN_USER = lunny [repository] ROOT = /Users/%(RUN_USER)s/git/gogs-repositories -LANG_IGNS=Google Go|C|Python|Ruby -LICENSES=Apache v2 License|GPL v2|MIT License|BSD (3-Clause) License +LANG_IGNS=Google Go|C|Python|Ruby|C Sharp +LICENSES=Apache v2 License|GPL v2|MIT License|Affero GPL|BSD (3-Clause) License [server] DOMAIN = gogits.org @@ -12,11 +14,15 @@ HTTP_ADDR = HTTP_PORT = 3000 [database] +# Either "mysql" or "postgres", it's your choice DB_TYPE = mysql HOST = NAME = gogs USER = root PASSWD = +# For "postgres" only, either "disable" or "verify-full" +SSL_MODE = disable [security] +# !!CHANGE THIS TO KEEP YOUR USER DATA SAFE!! USER_PASSWD_SALT = !#@FDEWREWR&*( |