https://github.com/bnbong/myblog_backend
<개인 프로젝트> backend-side of blog project wriiten with Python Flask
https://github.com/bnbong/myblog_backend
alembic flask python sqllite3
Last synced: 5 months ago
JSON representation
<개인 프로젝트> backend-side of blog project wriiten with Python Flask
- Host: GitHub
- URL: https://github.com/bnbong/myblog_backend
- Owner: bnbong
- Created: 2022-05-22T04:58:06.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-29T10:13:03.000Z (almost 4 years ago)
- Last Synced: 2025-09-09T21:29:08.788Z (10 months ago)
- Topics: alembic, flask, python, sqllite3
- Language: Python
- Homepage:
- Size: 81.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Myblog_backend
backend-side of blog project wriiten with Python Flask
- Blog page [Link](https://blog.bnbong.tk/)
## 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](https://www.pythonanywhere.com/)