Skip to content

Commit

Permalink
status
Browse files Browse the repository at this point in the history
  • Loading branch information
zodman committed Nov 29, 2020
1 parent 95000ea commit 264d0c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fabfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:*")

0 comments on commit 264d0c5

Please sign in to comment.