Total Pageviews

Thursday, 10 April 2014

基于python的论坛程序-june

Installation

Make sure you have python2.7, pip and virtualenv installed.
NodeJS is also required to compile static assets. After NodeJS is installed. You need to install:
$ npm install -g stylus component uglify-js
$ cd assets
$ npm install nib

Development

You should read the Contribution Guide first.
Start a development server:
$ git checkout your_fork_of_june
$ cd june
$ virtualenv --distribute venv
$ source venv/bin/activate
(venv)$ pip install -r requirements.txt
(venv)$ make static
(venv)$ python manager.py createdb
(venv)$ python manager.py runserver
It should be running at localhost:5000

FROM https://github.com/pythoncn/june