Eos/local_settings.example.py

40 lines
730 B
Python
Raw Normal View History

2017-11-26 11:16:57 +11:00
ORG_NAME = 'Your Organisation Here'
2017-11-28 12:29:12 +11:00
BASE_URI = 'http://localhost:5000'
2017-11-26 11:16:57 +11:00
SECRET_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxx'
AUTH_METHODS = [
2017-11-26 20:48:15 +11:00
('email', 'Email'),
2017-11-26 11:16:57 +11:00
('reddit', 'Reddit')
]
2017-11-26 20:48:15 +11:00
2017-12-07 15:33:11 +11:00
import eos.redditauth.election
ADMINS = [
#eos.redditauth.election.RedditUser(username='xxxxxxxx')
]
2017-11-27 19:40:01 +11:00
# MongoDB
DB_TYPE = 'mongodb'
DB_URI = 'mongodb://localhost:27017/'
DB_NAME = 'eos'
# PostgreSQL
#DB_TYPE = 'postgresql'
#DB_URI = 'postgresql://'
#DB_NAME = 'eos'
2017-11-26 20:48:15 +11:00
# Email
SMTP_HOST, SMTP_PORT = 'localhost', 25
SMTP_USER, SMTP_PASS = None, None
SMTP_FROM = 'eos@localhost'
# Reddit
REDDIT_OAUTH_CLIENT_ID = 'xxxxxxxxxxxxxx'
REDDIT_OAUTH_CLIENT_SECRET = 'xxxxxxxxxxxxxxxxxxxxxxxxxxx'
REDDIT_USER_AGENT = 'Application Title by /u/Your_Username'