Browse Source

Remove rebar from the guide

The example isn't converted yet but will soon.
Loïc Hoguin 11 years ago
parent
commit
e4b3cf94ea
2 changed files with 3 additions and 12 deletions
  1. 0 8
      guide/introduction.md
  2. 3 4
      guide/listeners.md

+ 0 - 8
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.

+ 3 - 4
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 '^]'.