Gyazz style Wiki implement with Ract and Fluxxor
- coffee-script
- express 4.12.x
- socket.io 1.3.x
- React + Fluxxor + Browserify
- mongoose + connect-mongo
- jade
- grunt + coffeelint + mocha + supertest
- Heroku
- Travis CI
- Node.js v0.12.x
- MongoDB v2.x
- Memcached
% npm install
% npm run build
# watch client jsx, then build
% npm run watchify
# to deploy, minify js
% NODE_ENV=production npm run build
# start server at port:3000
% PORT=3000 DEBUG=gyazz* npm start
% npm test
% heroku apps:create react-gyazz
% git push heroku master
% heroku config:add TZ=Asia/Tokyo
% heroku config:set "DEBUG=gyazz*"
% heroku config:set NODE_ENV=production
% heroku addons:add mongolab
# or
% heroku addons:add mongohq
% heroku logs --num 300
% heroku logs --tail
edit .travis.yml
.
- deploy to Heroku when Travis CI passed