![]() |
8 лет назад | |
---|---|---|
config.example | 8 лет назад | |
maple | 8 лет назад | |
screenshooter | 8 лет назад | |
static | 8 лет назад | |
templates | 8 лет назад | |
.gitignore | 8 лет назад | |
LICENSE | 9 лет назад | |
README.org | 8 лет назад | |
babel.cfg | 8 лет назад | |
gunicorn.conf | 8 лет назад | |
manager.py | 8 лет назад | |
requirements.txt | 8 лет назад | |
run.py | 8 лет назад |
This is a free,open-source forums system based on the flask
Some package is not neccessary
pip install -r requirements.txt
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