Simple web hello world using Cowboy
- elixir: v1.1.1
- cowboy: v1.0.0
mix deps.get && mix deps.compile && mix run --no-halt
Then access http://localhost:5000
- First install Heroku cli
Instructions here: https://devcenter.heroku.com/articles/heroku-command
- Prepare the environment
heroku create --buildpack "https://github.com/cristianoliveira/heroku-buildpack-elixir.git"
- Log into Heroku
heroku login
- Add Heroku as remote
The app name you can get on dashboard.
heroku git:remote -a <your-app-name>
- Finally deploy
git push heroku master