Skip to content

cristianoliveira/cowboy-elixir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elixir + Cowboy Hello World (Heroku)

Simple web hello world using Cowboy

Dependecies:

  • elixir: v1.1.1
  • cowboy: v1.0.0

Runing

mix deps.get && mix deps.compile && mix run --no-halt

Then access http://localhost:5000

Your elixir first deploy on Heroku

  • 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

About

Simple web hello world using Cowboy + Elixir (Bonus Heroku)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages