From aab63d605c595d8d0cd33646d13942d6cb372b60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 22 Oct 2013 09:15:57 +0200 Subject: Remove the elixir_hello_world example Elixir examples will be in a separate repository maintained by Elixir capable developers. --- examples/elixir_hello_world/README.md | 42 ----------------------------------- 1 file changed, 42 deletions(-) delete mode 100644 examples/elixir_hello_world/README.md (limited to 'examples/elixir_hello_world/README.md') diff --git a/examples/elixir_hello_world/README.md b/examples/elixir_hello_world/README.md deleted file mode 100644 index 09fef39..0000000 --- a/examples/elixir_hello_world/README.md +++ /dev/null @@ -1,42 +0,0 @@ -Elixir Hello World -================== - -This is an example of running Cowboy with [Elixir](http://elixir-lang.org). - -You need Elixir installed -([instructions here](http://elixir-lang.org/getting_started/1.html)) -to run this example. After installing Elixir, you should have both -`elixir` and `mix` executables available. - -You also need [rebar](https://github.com/rebar/rebar) in your PATH -to compile dependencies. - -Then type the following command: - -``` -mix deps.get -``` - -The command above will fetch all dependencies and compile them. - -You can then start the Erlang node with the following command: - -``` -mix run --no-halt -``` - -Then point your browser to localhost:8080. - -Example -------- - -``` bash -$ curl -i http://localhost:8080 -HTTP/1.1 200 OK -connection: keep-alive -server: Cowboy -date: Fri, 28 Sep 2012 04:10:25 GMT -content-length: 12 - -Hello world! -``` -- cgit v1.2.3