Created
July 6, 2019 02:16
-
-
Save gurkanakdeniz/84fff9b15c82ffeedea33d2ae2be3a6b to your computer and use it in GitHub Desktop.
flask init
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python3 -m venv venv | |
source venv/bin/activate | |
pip install --upgrade pip | |
pip install -r requirements.txt | |
export FLASK_APP=app.py | |
flask db init | |
flask db migrate -m "entries table" | |
flask db upgrade | |
flask run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pip freeze > requirements.txt
pip install -r requirements.txt