Skip to content

Commit

Permalink
Improve Heroku deployment instructions
Browse files Browse the repository at this point in the history
Updates `README.md`:

* Use abbreviated buildpack names
* Instruct users to add the generated files to version control
  • Loading branch information
0000marcell authored and seanpdoyle committed Feb 8, 2016
1 parent 4c67d23 commit 7e901b3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,14 +251,15 @@ Specifying a deployment strategy is only supported for applications that use the

To configure your EmberCLI-Rails applications for Heroku:

1. Execute `rails generate ember:heroku`
1. Execute `rails generate ember:heroku`.
1. Commit the newly generated files.
1. [Add the NodeJS buildpack][buildpack] and configure NPM to include the
`bower` dependency's executable file.

```sh
$ 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 buildpacks:add --index 1 heroku/nodejs
$ heroku buildpacks:add --index 2 heroku/ruby
$ heroku config:set NPM_CONFIG_PRODUCTION=false
$ heroku config:unset SKIP_EMBER
```
Expand Down

0 comments on commit 7e901b3

Please sign in to comment.