June is a forum
Fork and send pull request. All code must be linted by flake8.
python setup.py install
After installation, type june.tools -h for help.
-
create a settings file:
june.tools, a file calledsettings.pywill be created in your current path. -
edit settings file
- change
masterfor your database - change
static_path - add repatcha key and secret
- change
-
create database:
june.tools --settings=settings.py createdb -
create super user:
june.tools --settings=settings.py createuser -
start server:
june.server --settings=settings.py
-
install all required modules:
- tornado
- SQLAlchemy
- markdown
- pygments
- python-memcached
- argparse
-
check above, using
june/tools.pyto create everything -
check above using
june/app.pyto start server
You need to know a little of supervisor and nginx, all config files are available in conf/
- reply_factor_for_topic (default: 600)
- reply_time_factor (default: 1000)
- up_factor_for_topic (default: 1500)
- up_factor_for_user (default: 1)
- down_factor_for_topic (default:800)
- down_factor_for_user (default: 1)
- vote_reply_factor_for_topic (default: 500)
- vote_reply_factor_for_user (default: 1)
If your forum is very active, set the factors lower, otherwise set the factors higher!