Total Pageviews

Friday, 30 March 2018

基于python的博客程序-PostFlow


PostFlow is A simple, powerful publishing platform.

Feature

  • Admin Interface
  • Support Markdown
  • Support Custom Theme
  • Command Line Interface

Quickstart

  • Install pip install postflow
  • Initialize PostFlow
    • postflow init
  • Run PostFlow in the production mode. Default port is 8000
    • postflow start

Developer Install

  • Create a virtualenv
  • Install dependencies and PostFlow
    • make install
  • Initialize PostFlow
    • postflow init
  • Run the development server
    • make server run or postflow run
  • Visit home page localhost:5000 and admin panel localhost:5000/admin
  • Run the Admin Panel in the development mode.
    • make admin-serve
  • Visit the Admin Panel localhost:8080
  • Run PostFlow in the production mode. Default port is 8000
    • postflow start

from https://github.com/TryPostFlow/PostFlow
然后安装nginx,让nginx反向代理http://127.0.0.1:8000 即可。

No comments:

Post a Comment