Only install production Theo app if so configured
This commit is contained in:
parent
c707e2261c
commit
232d8c4613
|
@ -34,6 +34,10 @@ env.theo_mirror_posdb = None
|
|||
#env.theo_mirror_posdb = 'mysql'
|
||||
#env.theo_mirror_posdb = 'postgresql'
|
||||
|
||||
# should we install a 'production' Theo app?
|
||||
# (note that the 'stage' app is always installed)
|
||||
env.theo_install_production = False
|
||||
|
||||
# default admin user credentials for Theo web app
|
||||
env.theo_admin_username = 'username'
|
||||
env.theo_admin_password = 'password'
|
||||
|
|
1
machines/theo-server/fabfile.py
vendored
1
machines/theo-server/fabfile.py
vendored
|
@ -27,6 +27,7 @@ def bootstrap_all(c):
|
|||
Bootstrap all aspects of the machine
|
||||
"""
|
||||
bootstrap_base(c)
|
||||
if env.theo_install_production:
|
||||
bootstrap_theo(c)
|
||||
bootstrap_theo_stage(c)
|
||||
|
||||
|
|
Loading…
Reference in a new issue