From e4b3cf94ea41963fa0d65559e7ebb271bd96ba55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 25 Nov 2013 15:00:40 +0100 Subject: Remove rebar from the guide The example isn't converted yet but will soon. --- guide/introduction.md | 8 -------- guide/listeners.md | 7 +++---- 2 files changed, 3 insertions(+), 12 deletions(-) (limited to 'guide') 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 '^]'. -- cgit v1.2.3