![]() |
8 years ago | |
---|---|---|
forums | 8 years ago | |
screenshooter | 8 years ago | |
static | 8 years ago | |
templates | 8 years ago | |
translations | 8 years ago | |
.gitignore | 8 years ago | |
LICENSE | 9 years ago | |
README.org | 8 years ago | |
babel.cfg | 8 years ago | |
gunicorn.conf | 8 years ago | |
manager.py | 8 years ago | |
requirements.txt | 8 years ago | |
runserver.py | 8 years ago | |
upgrade.py | 8 years ago | |
upgrade_count.py | 8 years ago |
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 manager.py db init python manager.py db migrate -m "first migrate" python manager.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