yarn add async bcrypt body-parser connect-livereload connect-mongo connect-multiparty cookie-parser crypto express express-session fdfs grunt grunt-concurrent grunt-contrib-clean grunt-contrib-connect grunt-contrib-copy grunt-contrib-jade grunt-contrib-jshint grunt-contrib-less grunt-contrib-nodemon grunt-contrib-uglify grunt-contrib-watch grunt-mocha-test grunt-nodemon iconv-lite jade jshint-stylish load-grunt-tasks memcached mocha moment mongoose morgan redis serve-static should time-grunt uglify-js underscore
bower install
grunt
We recommend every repository include a README, LICENSE, and .gitignore.
…or create a new repository on the command line
echo # imooc >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/15751064254/imooc.git
git push -u origin master
…or push an existing repository from the command line
git remote add origin https://github.com/15751064254/imooc.git
git push -u origin master
…or import code from another repository
You can initialize this repository with code from a Subversion, Mercurial, or TFS project.
Import code
git push origin master
grunt test
npm install async bcrypt connect-mongo crypto express grunt grunt-concurrent grunt-contrib-jshint grunt-contrib-less grunt-contrib-uglify grunt-contrib-watch grunt-mocha-test grunt-nodemon jade moment mongoose underscore body-parser cookie-parser express-session morgan connect-multiparty mocha should serve-static --save --save-dev
npm install
npm rebuild
grunt
npm cache verify --force
npm install -g node-gyp
node-gyp --python /path/to/python2.7
npm install bcrypt
cd /opt/mongodb
sudo ./bin/mongod -config conf/mongod.conf
sudo ./bin/mongo 127.0.0.1:27017/test
> use admin
> db.shutdownServer()
post
http://192.168.250.253:3000/user/signup
http://192.168.250.253:3000/user/signin
http://192.168.250.253:3000/movie/
http://192.168.250.253:3000/admin/movie/update/
http://192.168.250.253:3000/admin/movie/list
http://192.168.250.253:3000/user/comment
http://192.168.250.253:3000/admin/category
get
http://192.168.250.253:3000/
http://192.168.250.253:3000/signin
http://192.168.250.253:3000/signup
http://192.168.250.253:3000/logout
http://192.168.250.253:3000/admin/user/list
http://192.168.250.253:3000/admin/movie/new
http://192.168.250.253:3000/admin/movie/list
http://192.168.250.253:3000/admin/category/new
http://192.168.250.253:3000/admin/category/list
http://192.168.250.253:3000/results
http://192.168.250.253:3000/map
yarn add bcrypt async body-parser connect-mongo connect-multiparty connect-livereload cookie-parser crypto express express-session jade jshint-stylish mocha moment mongoose morgan serve-static should underscore iconv-lite memcached redis uglify-js grunt time-grunt load-grunt-tasks grunt-concurrent grunt-contrib-connect grunt-contrib-clean grunt-contrib-copy grunt-contrib-jade grunt-contrib-jshint grunt-contrib-less grunt-contrib-nodemon grunt-contrib-uglify grunt-contrib-watch grunt-mocha-test grunt-nodemon --save
multer
npm install -g grunt-cli
npm install -g bower
npm install -g yarn
yarn install
grunt