Buckler/config.py.template

27 lines
618 B
Plaintext
Raw Normal View History

2019-09-14 18:36:23 -04:00
#!/usr/bin/env python3
"""
Configuration settings for Buckler.
2019-09-19 20:49:40 -04:00
`server_domain` is the server's domain.
2019-09-15 19:40:58 -04:00
`url_prefix` is the root path you wish app to reside at
2019-09-14 18:36:23 -04:00
eg. https://example.com/buckler
2019-09-15 19:40:58 -04:00
`db` specifies parameters for connecting to the PostgreSQL database.
2019-09-19 20:49:40 -04:00
`email` specifies parameters for connecting to the SMTP server.
2019-09-14 18:36:23 -04:00
"""
2020-11-12 13:15:50 -05:00
server_domain = 'steelbea.me'
2019-09-14 18:36:23 -04:00
url_prefix = '/buckler'
2019-09-15 19:40:58 -04:00
db = {
'database': 'buckler',
'user': 'buckler',
2019-09-19 20:49:40 -04:00
'password': """password""",
2019-09-15 19:40:58 -04:00
'host': 'localhost',
'port': 5432,
}
2019-09-19 20:49:40 -04:00
email = {
'host': 'mail.steelbea.me',
'port': 465,
'user': 'buckler@steelbea.me',
'password': """password"""
}