-
Notifications
You must be signed in to change notification settings - Fork 30
/
app.conf.default
130 lines (108 loc) · 3.38 KB
/
app.conf.default
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# Application
app.secret = <app_secret_please_change_me>
# Logging
log.trace.output = stderr
log.info.output = stderr
log.warn.output = stderr
log.error.output = stderr
log.trace.prefix = "TRACE "
log.info.prefix = "INFO "
log.warn.prefix = "WARN "
log.error.prefix = "ERROR "
# Cookies
cookie.prefix = BASEAPP
# i18n
i18n.cookie = %(cookie.prefix)s_LANG
i18n.default_language = en
# Build Tags
build.tags = gorp
# Additional app paths
module.jobs = github.com/revel/modules/jobs
module.static = github.com/revel/modules/static
# TEST mode
# `$> revel [run|test] github.com/richtr/baseapp test 9000`
[test]
# Application
app.name = BaseApp
# Server
http.host = http://localhost:9000
http.addr = localhost
http.port = 9000
http.ssl = false
http.sslcert =
http.sslkey =
mode.dev = true
watch = true
# Testing enabled in testing mode (only!)
module.testrunner = github.com/revel/modules/testrunner
# Use in-memory SQLITE 3 DB
# Available drivers: sqlite3, mysql, postgres
db.driver = sqlite3
db.import = github.com/mattn/go-sqlite3
db.spec = :memory:
# Email settings
mailer.server = smtp.example.org
mailer.port = 25
mailer.username = <username>
mailer.password = <password>
mailer.fromaddress = no-reply@example.org
# DEV mode
# `$> revel run github.com/richtr/baseapp dev 9000`
[dev]
# Application
app.name = BaseApp
# Server
http.host = http://localhost:9000
http.addr = localhost
http.port = 9000
http.ssl = false
http.sslcert =
http.sslkey =
mode.dev = true
watch = true
# Testing not enabled in development mode.
# Instead run `$> revel [run|test] baseapp/ test`
module.testrunner =
# Use development MySQL DB
# Available drivers: sqlite3, mysql, postgres
db.driver = mymysql
db.import = github.com/ziutek/mymysql/mysql
db.spec = "tcp:localhost:3306*baseapp/user/pass"
# Email settings
mailer.server = smtp.example.org
mailer.port = 25
mailer.username = <username>
mailer.password = <password>
mailer.fromaddress = no-reply@example.org
# PROD mode
# `$> revel run github.com/richtr/baseapp prod 9000`
[prod]
# Application
app.name = BaseApp
# Server
http.host = http://localhost:9000
http.addr = localhost
http.port = 9000
http.ssl = false
http.sslcert =
http.sslkey =
mode.dev = false
watch = false
# Testing not enabled in production mode.
# Instead run `$> revel [run|test] baseapp test`
module.testrunner =
# Use production MySQL DB
# Available drivers: sqlite3, mysql, postgres
db.driver = mymysql
db.import = github.com/ziutek/mymysql/mysql
db.spec = "tcp:localhost:3306*baseapp/user/pass"
# Email settings
mailer.server = smtp.example.org
mailer.port = 25
mailer.username = <username>
mailer.password = <password>
mailer.fromaddress = no-reply@example.org
log.trace.output = off
log.info.output = off
log.warn.output = stderr
log.error.output = stderr