mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-16 05:00:24 +00:00
Add an Hello World example
This commit is contained in:
parent
0c2e2224e3
commit
b8a25b156c
8 changed files with 129 additions and 0 deletions
16
examples/hello_world/README.md
Normal file
16
examples/hello_world/README.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
Cowboy Hello World
|
||||
==================
|
||||
|
||||
To compile this example you need rebar in your PATH.
|
||||
|
||||
Type the following command:
|
||||
```
|
||||
$ rebar get-deps compile
|
||||
```
|
||||
|
||||
You can then start the Erlang node with the following command:
|
||||
```
|
||||
./start.sh
|
||||
```
|
||||
|
||||
Then point your browser to the indicated URL.
|
Loading…
Add table
Add a link
Reference in a new issue