Skip to content

seanpdoyle/ember-cli-rails-heroku-example

Repository files navigation

Deploying an ember-cli-rails App to Heroku

  • 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:

  1. Run rails g ember-cli:heroku generator
  2. 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.

About

Demonstrates what's possible with `ember-cli-rails` on Heroku

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published