diff --git a/fabfile.py b/fabfile.py index e8f198e..e5e406a 100644 --- a/fabfile.py +++ b/fabfile.py @@ -10,9 +10,9 @@ def deploy(ctx): local("yarn build", echo=True) local("python manage.py collectstatic --noinput", echo=True) rsync(ctx, "static/", "apps/django-sockpuppet-expo/static/", exclude=exclude_dirs) - with ctx.cd("apps/django-sockpuppet-expo"): + with ctx.cd("~/apps/django-sockpuppet-expo"): ctx.run('git pull') with ctx.prefix("source .env/bin/activate"): - ctx.run('pip3.8 install -r requirements.in') + ctx.run('python -m pip install -r requirements.in') ctx.run('python3.8 manage.py migrate') ctx.run("sudo supervisorctl restart expo:*")