diff --git a/fabfile.py b/fabfile.py index 1246e79..288fd4d 100644 --- a/fabfile.py +++ b/fabfile.py @@ -8,7 +8,7 @@ from fabric.api import * from fabric.context_managers import settings, hide from fabric.decorators import with_settings from fabric.contrib.files import exists -from fabric.colors import yellow, red, white, green +from fabric.colors import yellow, red, white, green, blue # blue is used # @@ -230,11 +230,7 @@ def deploy(): with cd(release_dir): with prefix('source {}/virtualenv/bin/activate'.format(release_dir)): with prefix('export APP_CONFIGFILE="{}"'.format(app_configfile)): - cmd = 'python code/manage.py syncdb {}'.format(managepy_affix) - subheader(cmd) - run(cmd) - - cmd = 'python code/manage.py migrate {} --no-initial-data'\ + cmd = 'python code/manage.py migrate {} --no-input'\ .format(managepy_affix) subheader(cmd) run(cmd)