Commit 96b97c32 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Fix syntax error and update defaut config file

parent 5cc9ce49
......@@ -29,6 +29,10 @@ env.site_admin_pass = 'admin'
env.site_subdir = 'default'
# Database dump
# To enable it, replace the boolean value with the absolute path of a gzipped SQL dump file.
env.db_dump = False
# Docker
env.docker_workspace = '/opt/sfl'
......
......@@ -123,8 +123,10 @@ def site_install():
db_host, db_name, site_name,
site_admin_name,
site_admin_pass,
print green('Site installed successfully!')
site_subdir))
print green('Site installed successfully!')
# Import db_dump if it exists.
if 'db_dump' in env and env.db_dump is not False:
h._db_import(env.db_dump)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment