Myblog_backend
backend-side of blog project wriiten with Python Flask
- Blog page Link
venv activate
source .venv/bin/activate
venv deactivate
deactivate
initialize database
bash initialize_database.sh
app.db init
flask db init
db migration
flask db migrate flask db migrate -m "write your description"
db upgrade
flask db upgrade
db downgrade
flask db downgrade (it will undo your last migration)
initial db setting
python Database/init_db.py # for testing python init_db.py
install .dotenv file requirements
pip freeze -r "requirements.txt"
Domain
- using www.pythonanywhere.com