/Myblog_backend

<개인 프로젝트> backend-side of blog project wriiten with Python Flask

Primary LanguagePython

Myblog_backend

backend-side of blog project wriiten with Python Flask

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