Saddle/config.py.template

27 lines
688 B
Python
Executable File

#!/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.
"""
server_domain = 'steelbea.me'
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",
}