- Add all your local changes
- Commit
- Push to master
- Navigate into your project folder
- Git add everything but db.sqlite3
git add . git reset db.sqlite3 - Commit
- Stash all db changes:
git stash - Pull the changes from git
- Restart gunicorn:
sudo systemctl restart gunicorn - Restart nginx:
sudo service nginx restart