To try this example, you need GNU make and git in your PATH.
If you don’t have HTTPie installed, use the appropriate cURL commands instead.
To build the example, run the following command:
makeTo start the release in the foreground:
./_rel/hello-world-example/bin/hello-world-example consoleNote: The previous command also starts an Erlang console.
To start the app and an LFE shell:
lfe -pa ebin -pa deps/*/ebin -s hello-world # make devPoint your browser at http://localhost:8080.
http -v :8080GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
Connection: keep-alive
Host: localhost:8080
User-Agent: HTTPie/0.9.2HTTP/1.1 200 OK
content-length: 12
content-type: text/plain
date: Mon, 21 Sep 2015 03:26:46 GMT
server: CowboyHello world!