Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

Commit

Permalink
Switch instructions to using GitHub buildpack URL
Browse files Browse the repository at this point in the history
Since buildkits is deprecated, and the current published version is out
of date (see #61). Whilst we can (and will likely) perform a one-off
publish of `master` to buildkits, it's likely the version there will
become out of date again in the future, so it's just easier to use
GitHub URLs instead.

This buildpack also does not exist on buildpack registry.

Refs #61.
  • Loading branch information
edmorley committed Aug 19, 2020
1 parent 77ef614 commit f6b1eb9
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 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://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/emberjs.tgz
$ heroku buildpacks:set https://github.com/heroku/heroku-buildpack-emberjs.git
```

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

```
$ heroku create
$ heroku buildpacks:set https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/emberjs.tgz
$ heroku buildpacks:set https://github.com/heroku/heroku-buildpack-emberjs.git
$ 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 f6b1eb9

Please sign in to comment.