- Node.js
- Memcached
- MongoDB
Register new app on GitHub
% cp sample.env .env
% npm install
% npm run watch
% npm run start:dev
% NODE_ENV=production npm start
% heroku apps:create [app_name]
% git push heroku master
% heroku config:add TZ=Asia/Tokyo
% heroku config:set "DEBUG=semirara*,koa*"
% heroku config:set NODE_ENV=production
% heroku config:set GITHUB_CLIENT_ID=your-client-id
% heroku config:set GITHUB_CLIENT_SECRET=your-client-secret
% heroku addons:create mongolab
# or
% heroku addons:create mongohq
% heroku addons:create memcachier
% heroku logs --num 300
% heroku logs --tail