Skip to content

CyberSpherex/Flask-Blog

Repository files navigation

Flask-Blog

Environment

pip install -r requirements.txt

OR

./build.sh

Run the server

flask run

Screenshots

blog

dashboard

setting up version control

$ git config --global user.name "Your Name"
$ git config --global user.email "you@youraddress.com"
$ git config --global push.default matching
$ git config --global alias.co checkout
$ git init

Flask migration

pip install Flask-Migrate

It's creating a directory to hold all migration files

flask --app app db init

Make initial migration

flask --app app db migrate -m 'Initial Migration'

Push the migration to the database

flask --app app db upgrade

WTF Resources:

URLs
https://flask-wtf.readthedocs.io/en/1.0.x/
https://wtforms.readthedocs.io/en/3.0.x/

About

Flask blog with SQLAlchemy, WTF, MySQL, User Authentication, and more

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published