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