Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Procfile
Octocat-spinner-32 README.md
Octocat-spinner-32 rebar.config
README.md

Hello world Erlang web app

To build and run:

$ rebar get-deps compile
$ foreman start
19:11:36 web.1     | started with pid 54986
19:11:36 web.1     | start web server on port 5000

$ curl http://127.0.0.1:5000/
Hello world from Erlang.

^CSIGINT received
19:11:46 system    | terminating
19:11:46 system    | killing web in pid 54986
19:11:46 web.1     | process exiting
19:11:46 web.1     | process terminated
19:11:46 system    | terminating
Something went wrong with that request. Please try again.