diff --git a/core/templates/_chat_demo.html b/core/templates/_chat_demo.html index 1dc0af0..15249ba 100644 --- a/core/templates/_chat_demo.html +++ b/core/templates/_chat_demo.html @@ -17,7 +17,7 @@
- Messages stored {{chats|length}} of {{total}} + Messages stored {{chats|length}}
diff --git a/fabfile.py b/fabfile.py index 1add561..19022da 100644 --- a/fabfile.py +++ b/fabfile.py @@ -5,16 +5,16 @@ exclude_dirs = [".git", "node_modules", ".cache", ".github", "db.sqlite3"] + @task 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) + rsync(ctx, "static/", "apps/django-sockpuppet-expo/static/", + exclude=exclude_dirs) with ctx.cd("~/apps/django-sockpuppet-expo"): ctx.run('git pull') with ctx.prefix("source .env/bin/activate"): - ctx.run('python -m pip install -r requirements.in') - ctx.run('python3.8 manage.py migrate') + ctx.run('python -m pip install --upgrade -r requirements.in') + ctx.run('python manage.py migrate') ctx.run("sudo supervisorctl restart expo:*") - -