A neat and tidy Flask-powered blog engine
- Easy to use, clean style
- User Accounts
- Two user roles: admin and normal user. Both can create and edit posts, but only admin can manage users and posts (i.e. delete)
- Blog posts are written in Markdown. All symbols supported via flask-markdown library
- RESTful URLS with easily readable post title slugs
- Users can upload thumbnail images to their blog posts
- Authors can tag posts into different categories. USers can view posts by tags.
- Simple, working pagination
- About Me -page
- Comments (probably Disqus)
- Account management (i.e. password resets)
There are a few steps you need to take in order to get the blog to work on a development server
-
Install a virtual environment for Python 2.7, activate it and install required libraries indicated in requirements.txt file
pip install -r /path/to/requirements.txt
-
Initialize the database
python db_create.py
to create the databasepython db_migrate.py
to create a migrationpython db_upgrade.py
to upgrade the database version
-
You might want to edit the config.py file, especially change the 'dummy' secret key
-
python run.py
to run the app on a dev server.