source code of daimaduan.com
- Python 2.7
- MongoDB 3.0+
- node.js
在运行服务器程序之前, 需要先准备好本地的开发坏境
gem install sass
npm install -g bower scss uglifyjs bower
bower install
- 启动MongoDB
cp daimaduan/default_settings.py daimaduan/custom_settings.py
python setup.py develop
fab run
daimaduan使用Celery
来管理异步的任务, 启动woker
的命令为:
celery -A daimaduan.bootstrap:celery worker -l info