Quantcast
Channel: 看得透又看得远者prevail. ppt.cc/flUmLx ppt.cc/fqtgqx ppt.cc/fZsXUx ppt.cc/fhWnZx ppt.cc/fnrkVx ppt.cc/f2CBVx
Viewing all articles
Browse latest Browse all 20551

基于python的博客程序-PostFlow

$
0
0


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 即可。

Viewing all articles
Browse latest Browse all 20551

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>