Mercurial > hg > ltpdarepo
annotate etc/ltpdarepo.ex @ 205:fd572809cb18
Add local configuration file as arguments to user scripts.
* * *
Example configuration file.
author | Daniele Nicolodi <daniele@grinta.net> |
---|---|
date | Wed, 16 Nov 2011 19:10:28 +0100 |
parents | |
children | d8b0a06cb763 |
rev | line source |
---|---|
205
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
diff
changeset
|
1 # secret key used for session cookie encryption |
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
diff
changeset
|
2 SECRET_KEY = 'please change this!' |
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
diff
changeset
|
3 |
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
diff
changeset
|
4 # database connection parameters |
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
diff
changeset
|
5 HOSTNAME = 'localhost' |
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
diff
changeset
|
6 USERNAME = 'root' |
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
diff
changeset
|
7 PASSWORD = '' |
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
diff
changeset
|
8 DATABASE = 'ltpda' |
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
diff
changeset
|
9 |
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
diff
changeset
|
10 # mailserver |
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
diff
changeset
|
11 MAIL_SMTP_SERVER = 'localhost' |
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
diff
changeset
|
12 MAIL_SMTP_PORT = 25 |
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
diff
changeset
|
13 MAIL_SMTP_USETLS = False |
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
diff
changeset
|
14 MAIL_SMTP_USERNAME = '' |
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
diff
changeset
|
15 MAIL_SMTP_PASSWORD = '' |
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
diff
changeset
|
16 |
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
diff
changeset
|
17 # administrator email |
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
diff
changeset
|
18 ADMIN_EMAIL_ADDR = '' |
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
diff
changeset
|
19 |
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
diff
changeset
|
20 # debuggig |
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
diff
changeset
|
21 DEBUG = False |
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
diff
changeset
|
22 # suppress outgoing emails |
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
diff
changeset
|
23 TESTING = True |