199
199
# users who are allowed to run the trampoline. This is stores as a string of
200
200
# comma-separated integers, simply because it is not used within Python, only
201
201
# used by the setup program to write to conf.h (see setup.py config)."""))
202
config_options.append(ConfigOption("db_host", "localhost",
203
"""PostgreSQL Database config
204
==========================
205
Hostname of the DB server:""",
207
### PostgreSQL Database config ###
208
# Database server hostname"""))
209
config_options.append(ConfigOption("db_port", "5432",
210
"""Port of the DB server:""",
212
# Database server port"""))
213
config_options.append(ConfigOption("db_user", "postgres",
214
"""Username for DB server login:""",
216
# Database username"""))
217
config_options.append(ConfigOption("db_password", "",
218
"""Password for DB server login:
219
(Caution: This password is stored in plaintext in www/conf/conf.py)""",
221
# Database password"""))
203
223
# Try importing existing conf, but if we can't just set up defaults
204
224
# The reason for this is that these settings are used by other phases