forked from biocore/american-gut-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ag_config.txt.example
98 lines (70 loc) · 2.17 KB
/
ag_config.txt.example
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
# WARNING!!!! DO NOT MODIFY THIS FILE
# IF YOU NEED TO PROVIDE YOUR OWN CONFIGURATION, COPY THIS FILE AND EDIT THE COPY
# ------------------------------ Main settings --------------------------------
[main]
# Change to FALSE in a production system
TEST_ENVIRONMENT = TRUE
# Path to the base directory where the data files are going to be stored
BASE_DATA_DIR = /tmp
# Path to the logging directory
BASE_LOG_DIR =
# URL base (e.g., foo.bar.com/<SITEBASE>)
SITEBASE =
# The URL where the site is served from, e.g. https://microbio.me/AmericanGut/
BASE_URL = http://localhost:8888
# The value used to secure cookies used for user sessions. A suitable value can
# be generated with:
#
# python -c "from base64 import b64encode;\
# from uuid import uuid4;\
# print b64encode(uuid4().bytes + uuid4().bytes)"
COOKIE_SECRET = SECRET
LOCALE = american_gut
name = American Gut Project
shorthand = American Gut
# The email address where error reports are sent to
ERROR_EMAIL =
# ----------------------------- Postgres settings -----------------------------
[postgres]
# The user name to connect to the database
USER = postgres
#The password of the user.
PASSWORD =
# The database to connect to
DATABASE = ag_test
# The host where the database lives on
HOST = localhost
# The port to connect to the database
PORT = 5432
# ----------------------------- Redis settings --------------------------------
[redis]
# The host on which redis is running
HOST = localhost
# The port that redis is running on
PORT = 6379
# The ID of the redis database
DB_ID = 0
# ----------------------------- Email settings -----------------------------
[email]
# SMTP Host
HOST = localhost
#SMTP port to connect
PORT = 25
# SSL connection required
SSL = False
# Username to connect to server
USERNAME =
# Password for username
PASSWORD =
# ----------------------------- Test settings ---------------------------------
[test]
#data for tests
GOODPASSWORD =
BADPASSWORD = oldpass
# ----------------------------- Third-Party settings ------------------------
[thirdparty]
VIOSCREEN_REGCODE = regcode
VIOSCREEN_CRYPTOKEY = 1234567891011121
OPEN_HUMANS_BASE_URL = https://openhumans.org
OPEN_HUMANS_KEY =
OPEN_HUMANS_SECRET =