Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
Revert "Switch instructions to using GitHub buildpack URL (#63)" (#64)
Browse files Browse the repository at this point in the history
This reverts commit bf3db89.
  • Loading branch information
edmorley authored Aug 19, 2020
1 parent bf3db89 commit eccf482
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This is a [Heroku Buildpack](http://devcenter.heroku.com/articles/buildpacks) fo
This buildpack has a binary component, so it needs to be compiled beforehand. It's easier just to use the buildpack with the prebuilt binary.

```
$ heroku buildpacks:set https://github.com/heroku/heroku-buildpack-emberjs.git
$ heroku buildpacks:set https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/emberjs.tgz
```

Once the buildpack is set, you can `git push heroku master` like any other Heroku application.
Expand All @@ -21,7 +21,7 @@ Deploying a standard ember.js app on Heroku is simple. You can run the following

```
$ heroku create
$ heroku buildpacks:set https://github.com/heroku/heroku-buildpack-emberjs.git
$ heroku buildpacks:set https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/emberjs.tgz
$ git push heroku master
$ heroku open
```
Expand All @@ -32,11 +32,29 @@ Deploying an ember fastboot on Heroku is just as simple. You can run the followi

```
$ heroku create
$ heroku buildpacks:set https://github.com/heroku/heroku-buildpack-emberjs.git
$ heroku buildpacks:set https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/emberjs.tgz
$ git push heroku master
$ heroku open
```

### Problems

If you get an error setting the buildpack like the following:

```
$ heroku buildpacks:set https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/emberjs.tgz
▸ Invalid buildpack `heroku/emberjs`
```

This means that `npm` is having issues keeping the core heroku toolbelt plugins up to date. To fix this you can run these commands:

```
$ rm -rf ~/.heroku/node_modules/heroku-apps
$ heroku update
```

This causes the core plugins to be redownloaded with the latest version.

## Architecture

The buildpack is built on top of three other buildpacks, to deliver a great Ember experience.
Expand Down

0 comments on commit eccf482

Please sign in to comment.