From e51afe4621cfbc8380994c818981f42a097e3ec5 Mon Sep 17 00:00:00 2001 From: Unknown Date: Mon, 17 Mar 2014 14:03:58 -0400 Subject: Add postgres support, clean code, code review --- conf/app.ini | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'conf/app.ini') diff --git a/conf/app.ini b/conf/app.ini index cc7d0a90..1c702107 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&*( -- cgit v1.2.3