Demonstrates what's possible with `ember-cli-rails` on Heroku
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
admin
app
bin
config
db
frontend
lib
log
public
test
vendor/assets
.gitignore
.hound.yml
.ruby-version
Gemfile
Gemfile.lock
Procfile
README.md
Rakefile
config.ru
package.json
yarn.lock

README.md

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.