This is a free,open-source forums system based on the flask
Some package is not neccessary
pip install -r requirements.txt
Beacause flask_maple.rbac isn't uploaded to pypi you should
git clone https://github.com/honmaple/flask-maple cd flask-maple git checkout develop pip uninstall flask-maple python setup.py install
to install flask-maple
mv config.example config
after finished configure
For Production Please set DEBUG = False or change maple/__init__.py
app.config.from_object('config.config')
to
app.config.from_object('config.production')
place of file: maple/topic/forms.py
category = SelectField( _('Category:'), choices=[(b.id, b.board + ' --' + b.parent_board) for b in Board.query.all()], coerce=int)
python manage.py db init python manage.py db migrate -m "first migrate" python manage.py db upgrade
Ok,please recovery maple/topic/forms.py
python manager.py create_user
Ok ,visit forums.localhost:5000/admin to add something
Please visit forums.honmaple.org
Honmaple is open-sourced software licensed under the GPL3 license