24 lines
277 B
Markdown
24 lines
277 B
Markdown
|
|
pip:
|
|
|
|
|
|
```
|
|
pip install flask
|
|
pip install python-dotenv
|
|
pip install flask-wtf
|
|
pip install flask-sqlalchemy
|
|
pip install flask-migrate
|
|
pip freeze > requirements.txt
|
|
```
|
|
|
|
db:
|
|
|
|
```
|
|
flask db migrate -m "users table"
|
|
flask db upgrade
|
|
|
|
flask db downgrade [base]
|
|
flask db upgrade
|
|
```
|
|
|