Total Pageviews

Thursday 29 May 2014

一个基于python的论坛程序-pbb

git clone git://github.com/whtsky/PBB.git
cd PBB
pip install -r requirements.txt
vim settings.py
You must rewrite forum_title and forum_url.
cookie_secret must be a random string.
Then,runpython main.py and goto http://localhost:8888/.The first member will be superadmin.

Stylesheets

PBB uses sass and Bootstrap.
You need to install sass before changing the stylesheets.
You can run make css-watch to watch and generate css automatically or run make css to generate css manually after changing.

Scripts

PBB uses coffeescript to write scripts and UglifyJS to compress scripts. You need to install them before changing the scripts.
You can run make js to generate js.

Thanks

from https://github.com/whtsky/Gather
https://github.com/JmPotato/Gather/tree/tornado