diff --git a/fabfile.py b/fabfile.py index ee29931..a4e9708 100644 --- a/fabfile.py +++ b/fabfile.py @@ -140,7 +140,7 @@ def collectstatic(): def create_local_settings(): - with cd(SETTINGS_PATH), settings(user=env.superuser): + with cd(SETTINGS_PATH): env_local_settings = 'local_settings-{}.py'.format(env.environment) if not exists('local_settings.py') and exists(env_local_settings): @@ -247,13 +247,13 @@ def ssh_keygen(): def deploy(noprovision=False): """Deploy and run the new code (master branch)""" - fix_path() - if noprovision is False: provision() else: update_code() + fix_path() + install_solr() mkvirtualenv() -- libgit2 0.21.2