- Follow ember-cli-rails installation instructions
- Create your applicaiton on Heroku:
$ heroku create $MY_EMBER_CLI_RAILS_APP
To configure your Ember CLI Rails app to be ready to deploy on Heroku:
- Run
rails g ember-cli:heroku
generator - Add the NodeJS buildpack and configure NPM to include the
bower
dependency's executable file.
$ heroku buildpacks:clear
$ heroku buildpacks:add --index 1 https://github.com/heroku/heroku-buildpack-nodejs
$ heroku buildpacks:add --index 2 https://github.com/heroku/heroku-buildpack-ruby
$ heroku config:set NPM_CONFIG_PRODUCTION=false
$ heroku config:unset SKIP_EMBER
You should be ready to deploy.
NOTE Run the generator each time you introduce additional EmberCLI applications into the project.