The backend of the blog system is written in Python, based on the flask framework +mysql database, and the front-end HTML5 + Bootstrap. The blog is currently deployed on SAE (Sina Cloud).

Basic functions:

Support background management and login, management articles, classification, labels, users, files, friends, etc

Demo: NoGameNoLife’s Blog

Configuration run:

Configure MYSQL, etc. (if deployed on SAE, import configuration directly from sae.const)

Email configuration: Enter the server address, port, account and password

Enable the debugging mode: DEBUG = Ture

Configure the registration code (required when registering an account) : REGISTRATION_CODE

Create a data table: $python data_model.py

Run the blog: $python blogapp.py

Enter the blog background: go to http://localhost:5005/admin

Click Register to register (need to enter the configured registration code)

After you log out, you can log in with your registered account

Runtime environment and third party dependent libraries:

Python = 2.7

Flask = 0.10.1

Flask – SQLAlchemy = 2.0

Flask – Admin = 1.0.3

Flask – Login = 0.2.11

Flask E-mail = 0.1

Flask – Login = 0.2.11

Flask – WTF = 0.11

Sqlalchemy = 0.9.8

Sqlalchemy migrate = 0.10.1. –

Wtforms = 2.0.2