added a sample config file
This commit is contained in:
parent
dce80a929b
commit
66acf10327
|
@ -0,0 +1,14 @@
|
||||||
|
[cookies]
|
||||||
|
cookie_secret='somesecretkey'
|
||||||
|
cookie_max_age=1800 #seconds
|
||||||
|
cookie_name='accounts'
|
||||||
|
|
||||||
|
[app]
|
||||||
|
app_name='SocialNerds Accounts'
|
||||||
|
static_files="/home/david/Git/accounts/static"
|
||||||
|
|
||||||
|
[miab]
|
||||||
|
miab_admin='someadmin@socialnerds.org'
|
||||||
|
miab_passwd='xxxxx'
|
||||||
|
miab_url='https://excelsior.socialnerds.org/admin'
|
||||||
|
|
12
app.py
12
app.py
|
@ -5,18 +5,6 @@ from bottle import route, run, template, error, get, \
|
||||||
static_file
|
static_file
|
||||||
|
|
||||||
|
|
||||||
# config
|
|
||||||
|
|
||||||
# load config from configfile instead of defining it here
|
|
||||||
cookie_secret='.0)>ZCqL Fvi3m$;c VY-$&^65 r3Yg,$vC +U?1#zy] 2[]rUsru .yd4-GiE *i#i4Wr['
|
|
||||||
cookie_max_age=1800 #seconds
|
|
||||||
cookie_name='accounts'
|
|
||||||
app_name='SocialNerds Accounts'
|
|
||||||
static_files="/home/david/Git/accounts/static"
|
|
||||||
miab_admin='someadmin@socialnerds.org'
|
|
||||||
miab_passwd='xxxxx'
|
|
||||||
miab_url='https://excelsior.socialnerds.org/admin'
|
|
||||||
|
|
||||||
|
|
||||||
# functions
|
# functions
|
||||||
|
|
||||||
|
|
Reference in New Issue