Skip to content

Commit

Permalink
update usage instructions and remove fail on unset vars
Browse files Browse the repository at this point in the history
  • Loading branch information
gjaldon committed Jul 30, 2016
1 parent f45d8ce commit 23f3652
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,15 @@ This buildpack is meant to be used with the [Heroku Buildpack for Elixir](https:
## Usage

```bash
# Set the buildpack for your Heroku app
heroku buildpacks:set https://github.com/gjaldon/phoenix-static-buildpack
# Create a Heroku instance for your project
heroku apps:create my_heroku_app

# Add this buildpack after the Elixir buildpack
heroku buildpacks:add --index 1 https://github.com/HashNuke/heroku-buildpack-elixir
# Set and add the buildpacks for your Heroku app
heroku buildpacks:set https://github.com/HashNuke/heroku-buildpack-elixir
heroku buildpacks:add https://github.com/gjaldon/heroku-buildpack-phoenix-static

# Deploy
git push heroku master
```

## Configuration
Expand Down
1 change: 0 additions & 1 deletion bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ build_pack_dir=$(cd $(dirname $(dirname $0)); pwd)

set -o errexit # always exit on error
set -o pipefail # don't ignore exit codes when piping output
set -o nounset # fail on unset variables
unset GIT_DIR # Avoid GIT_DIR leak from previous build steps


Expand Down

0 comments on commit 23f3652

Please sign in to comment.