An easy Blog written by python, flask, flask-blogging and using maupassant theme.
-
virtualenv is recommanded.
-
install requirements
pip install -r requirements.txt - create user
python manage_user.py <command> <username> <password> command: create or delete -
modify app config
app config is mainly in ezBlog.py file. modify app.config["BLOGGING_SITEURL"] to your own site url. and modify app listen ip and port at the bottom. -
start the app
python ezBlog.py (or you can make it run in background) -
login and write blog
Open app.config["BLOGGING_SITEURL"]/login/ (for example, http://example.com/login/) and input your username and password (app.config["BLOGGING_SITEURL"] is set in ezBlog.py)
if you want logout, use app.config["BLOGGING_SITEURL"]/logout/ url. -
Enjoy it!