https://github.com/mugilan-codes/flask-blog
Learning Flask by making a Blog
https://github.com/mugilan-codes/flask-blog
flask python
Last synced: 2 months ago
JSON representation
Learning Flask by making a Blog
- Host: GitHub
- URL: https://github.com/mugilan-codes/flask-blog
- Owner: Mugilan-Codes
- Created: 2020-10-18T07:36:33.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-01-13T03:23:53.000Z (over 4 years ago)
- Last Synced: 2025-06-30T15:51:23.592Z (12 months ago)
- Topics: flask, python
- Language: HTML
- Homepage:
- Size: 2.11 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flask-Blog
> By [Mugilan](https://github.com/Mugilan-Codes)
## Todo
- Cleanup old Profile Pics
- Add and delete posts
- Change to MongoDB instead of SQLAlchemy
- Paginate Posts to Home page
- Refactor Code
## How to Run
- Create a Virtual Environment
```bash
python3 -m venv .venv
source .venv/bin/activate
```
- Install required packages
```bash
pip install -r requirements.txt
```
- Run the Flask app
```bash
flask run
```
- migrate db
```py
from flaskblog import db
db.create_all()
```
> [Flask-Blog Github Link](https://github.com/Mugilan-Codes/flask-blog)