Skip to content

noobcoderT/ezBlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f7b23fa · Aug 1, 2019

History

57 Commits
Aug 30, 2018
Aug 1, 2019
Sep 16, 2018
Aug 30, 2018
Sep 26, 2018
Sep 26, 2018
Sep 21, 2018
Sep 16, 2018
Aug 28, 2018
Sep 26, 2018
Aug 1, 2019
Aug 28, 2018
Sep 7, 2018

Repository files navigation

ezBlog

An easy Blog written by python, flask, flask-blogging and using maupassant theme.

Example

My blog

index page

index

post page

post-1 post-2

archives page

archives

login page

login

writing post page

write

Introduce

快速搭建属于自己的博客

How to use

  1. virtualenv is recommanded.

  2. install requirements

pip install -r requirements.txt
  1. create user
python manage_user.py <command> <username> <password>

command: create or delete
  1. 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.

  2. start the app

python ezBlog.py (or you can make it run in background)
  1. 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.

  2. Enjoy it!

Releases

No releases published

Packages

No packages published