ACdream Save

programming community for ACM (node.js + express4 + mongodb + redis)

Project README

ACdream Online Judge v2.0.0

温馨提示

该项目已不再维护,需要复用请自行研究代码。

关于pull request

所有提交都要严格遵循代码规范

ubuntu下快速搭建开发环境

安装依赖

$ sudo apt-get update
$ sudo apt-get install imagemagick
$ sudo apt-get install python-software-properties python g++ make
$ sudo apt-get install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential

安装node.js

$ sudo add-apt-repository ppa:chris-lea/node.js
$ sudo apt-get update
$ sudo apt-get install nodejs

安装redis数据库

http://blog.csdn.net/kidx_/article/details/26167091

安装mongodb数据库

http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/

数据库初始化

$ cd ACdream
$ mongorestore -h localhost -d acdream_db -drop

安装grunt

$ sudo npm i -g grunt-cli

安装依赖模块

$ cd ACdream
$ sudo npm i

运行app

$ cd ACdream
$ grunt
$ node app.js

License

https://github.com/KIDx/ACdream/blob/master/license

Open Source Agenda is not affiliated with "ACdream" Project. README Source: KIDx/ACdream
Stars
98
Open Issues
2
Last Commit
3 years ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating