Saddle/config.py.template

27 lines
688 B
Plaintext
Raw Permalink Normal View History

2019-10-01 23:06:51 -04:00
#!/usr/bin/env python3
"""
Configuration settings for Saddle.
`url_prefix` is the root path you wish app to reside at
eg. https://example.com/saddle
`upload_dir` is the system directory in which to store uploaded files.
`db` specifies parameters for connecting to the PostgreSQL database.
`buckler` specifies settings pertaining to the Buckler server.
"""
2020-11-12 13:17:38 -05:00
server_domain = 'steelbea.me'
2019-10-01 23:06:51 -04:00
url_prefix = '/saddle'
upload_dir = '/var/www/html/up'
db = {
'database': 'saddle',
'user': 'saddle',
'password': """password""",
'host': 'localhost',
'port': 5432,
}
buckler = {
'url': "http://127.0.0.1:5400/buckler",
'app_id': 1,
'app_key': """password""",
'login_url': "/buckler/login",
}