This is a free,open-source forums system based on the flask
#<<english>>
If you have used honmaple before 2017-4-1,please use upgrade script to upgrade data
important ! : please modify script to configure as your own database.
# session1:old database # session2:new database python upgrade.py python upgrade_count.py
mkvirtualenv forums
pip install -r requirements.txt
Beacause newest flask_maple isn't uploaded to pypi you should
git clone https://github.com/honmaple/flask-maple cd flask-maple pip uninstall flask-maple python setup.py install
to install flask-maple
mv config.example config.py
remember to modify config file.
python manager.py db init python manager.py db migrate -m "first migrate" python manager.py db upgrade
Or
python manager.py init_db
python manager.py create_index
python manager.py create_user
Ok ,visit forums.localhost:5000/admin to add something
Please visit forums.honmaple.org
#<<chinese>> 如果你在4月1日之前部署过,请使用升级脚本升级你的数据
重要!,请修改升级脚本为你自己的数据库
# session1:old database # session2:new database python upgrade.py python upgrade_count.py
创建虚拟环境
mkvirtualenv forums
pip install -r requirements.txt
因为最新的*flask-maple*还未上传到pypi,所以
git clone https://github.com/honmaple/flask-maple cd flask-maple pip uninstall flask-maple python setup.py install
来安装flask-maple
mv config.example config.py
记得修改配置文件
python manager.py db init python manager.py db migrate -m "first migrate" python manager.py db upgrade
或者
python manager.py init_db
python manager.py create_index
python manager.py create_user
python runserver.py
然后访问*forums.localhost:5000/admin*去增加一些东西
Honmaple is open-sourced software licensed under the GPL3 license