How to push changes onto cloud:
- Git push into this repo from local.
- Git pull from remote.
- sudo supervisorctl restart flaskblog
How to make db changes.
- Make changes to models.py
- Open python in terminal, make sure to use: alias python='winpty python.exe'
- Run the following commands: from app import db, create_app db.drop_all(app=create_app()) db.create_all(app=create_app())