Skip to content

Latest commit

 

History

History
81 lines (66 loc) · 1.98 KB

README_zh.org

File metadata and controls

81 lines (66 loc) · 1.98 KB

maple-bbs

https://img.shields.io/badge/license-GPL3.0-blue.svg https://img.shields.io/badge/python-3.4-brightgreen.svg

https://raw.githubusercontent.com/honmaple/maple-bbs/master/screenshooter/index.png https://raw.githubusercontent.com/honmaple/maple-bbs/master/screenshooter/board.png https://raw.githubusercontent.com/honmaple/maple-bbs/master/screenshooter/ask.png

如果你在4月1日之前部署过,请使用升级脚本升级你的数据

重要!,请修改升级脚本为你自己的数据库

# session1:old database
# session2:new database
python upgrade.py
python upgrade_count.py

功能

  • 注册,登陆,忘记密码
  • 版块及节点分类
  • 主题收藏
  • 回复点赞
  • 关注用户,节点,主题
  • 隐私设置
  • 可选markdown提问
  • 节点rss
  • 头像…
  • 全文搜索(基于whoosh)

安装

创建虚拟环境

mkvirtualenv forums

安装需要的包

pip install -r requirements.txt

配置

mv config.example config.py

记得修改配置文件

初始化数据库

python runserver.py db init
python runserver.py db migrate -m "first migrate"
python runserver.py db upgrade

或者

python runserver.py initdb

创建全文搜索索引

python runserver.py create_index

创建管理员账户

python runserver.py create_user

登陆并访问后台

python runserver.py

然后访问*forums.localhost:8000/admin*去增加一些东西

演示

请访问 forums.honmaple.org

License

maple-bbs is open-sourced software licensed under the GPL3 license