aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-11-25 15:00:40 +0100
committerLoïc Hoguin <[email protected]>2013-11-25 15:02:22 +0100
commite4b3cf94ea41963fa0d65559e7ebb271bd96ba55 (patch)
tree7430ac22da8a44bbfac5edd802e538d250741017
parent941371502643f8f240d79632af853df243b5acd0 (diff)
downloadranch-e4b3cf94ea41963fa0d65559e7ebb271bd96ba55.tar.gz
ranch-e4b3cf94ea41963fa0d65559e7ebb271bd96ba55.tar.bz2
ranch-e4b3cf94ea41963fa0d65559e7ebb271bd96ba55.zip
Remove rebar from the guide
The example isn't converted yet but will soon.
-rw-r--r--guide/introduction.md8
-rw-r--r--guide/listeners.md7
2 files changed, 3 insertions, 12 deletions
diff --git a/guide/introduction.md b/guide/introduction.md
index c63eaef..531f68c 100644
--- a/guide/introduction.md
+++ b/guide/introduction.md
@@ -15,11 +15,3 @@ Prerequisites
It is assumed the developer already knows Erlang and has some experience
with socket programming and TCP protocols.
-
-In order to run the examples available in this user guide, you will need
-Erlang and rebar installed and in your $PATH.
-
-Please see the [rebar repository](https://github.com/basho/rebar) for
-downloading and building instructions. Please look up the environment
-variables documentation of your system for details on how to update the
-$PATH information.
diff --git a/guide/listeners.md b/guide/listeners.md
index a941c22..4d01544 100644
--- a/guide/listeners.md
+++ b/guide/listeners.md
@@ -56,9 +56,8 @@ examples directory. To do so, open a shell in the `examples/tcp_echo/`
directory and run the following commands:
``` bash
-% rebar get-deps compile
-% ./start.sh
-Listening on port 5555
+$ make
+$ ./_rel/bin/tcp_echo console
```
You can then connect to it using telnet and see the echo server reply
@@ -67,7 +66,7 @@ the `Ctrl+]` key to escape to the telnet command line and type
`quit` to exit.
```
-% telnet localhost 5555
+$ telnet localhost 5555
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.