From 264d0c56c30173cd2583ee70f0f4bc4bcaeb4a66 Mon Sep 17 00:00:00 2001 From: Andres Vargas Date: Sat, 28 Nov 2020 19:00:49 -0600 Subject: [PATCH] status --- fabfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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:*")