Skip to content

Commit

Permalink
updated fabfile to Fabric 1.6.0 and django 1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
spiccinini committed Mar 17, 2018
1 parent b927e5e commit d280225
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions fabfile.py
Expand Up @@ -167,10 +167,8 @@ def update_database():
with cd(MANAGEPY_SUBDIR):
managepy = "%s manage.py " % PYTHON_BIN
if getattr(env, 'initial_deploy', False):
run_venv(managepy + "syncdb --all --settings=redpanal.production_settings")
run_venv(managepy + "migrate --fake --noinput --settings=redpanal.production_settings")
run_venv(managepy + "migrate --fake-initial --noinput --settings=redpanal.production_settings")
else:
run_venv(managepy + "syncdb --noinput --settings=redpanal.production_settings")
run_venv(managepy + "migrate --noinput --settings=redpanal.production_settings")

@task
Expand Down

0 comments on commit d280225

Please sign in to comment.