npm install && bower install
gem install sass
Add export NODE_ENV=development
(or production) to your environment.
Database configuration details are defined in your environment as well. Add export DB_USERNAME=username
and export DB_PASSWORD=password
to your environment.
gulp
gulp dev
$ heroku create APP_NAME
$ heroku config:set NODE_ENV=production
$ heroku config:set DB_USERNAME=YOUR_DB_USERNAME
$ heroku config:set DB_PASSWORD=YOUR_DB_PASSWORD
$ heroku config:set DB_HOST=YOUR_DB_HOST
$ heroku plugins:install heroku-docker
$ heroku docker:init
$ heroku docker:release
$ heroku open
$ docker-machine start default
$ eval $(docker-machine env default)
$ docker-compose up web
$ heroku docker:release
For more information about using Node.js on Heroku, see these Dev Center articles: