Skip to content

Commit 0d06255

Browse files
committed
Add tentative readme
1 parent 6f240e2 commit 0d06255

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
## Heroku Elixir Buildpack
2+
3+
[ This readme is also a TODO. More docs coming. After I get some sleep. ]
4+
5+
Has support for using prebuilt Elixir binaries. Borrows heavily from Gosha Arinich's [work](https://github.com/goshakkk/heroku-buildpack-elixir).
6+
7+
8+
#### To create a Heroku app with this buildpack
9+
10+
heroku create --buildpack "https://github.com/HashNuke/heroku-elixir-buildpack.git"
11+
12+
13+
#### To set the buildpack of an existing Heroku app
14+
15+
heroku config:add BUILDPACK_URL="https://github.com/HashNuke/heroku-elixir-buildpack.git" -a APP_NAME
16+
17+
18+
#### To set your Elixir and Erlang versions
19+
20+
* Create a `.language_versions` file in your app's root dir.
21+
22+
* Refer to the default `[.language_versions](https://github.com/HashNuke/heroku-elixir-buildpack/blob/master/.language_versions)` that comes with this repository for syntax. It is just a bash file.
23+
24+
25+
#### Procfile
26+
27+
You can add your own Procfile. If you don't add one, the default profile will run `mix server -p $PORT`.

0 commit comments

Comments
 (0)