From d2a3f2cedd7c00d0933222aed9c06b3149aa4db4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 4 Apr 2018 13:13:37 +0200 Subject: Cowboy 2.3.0 --- docs/en/cowboy/2.2/guide/getting_started/index.html | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'docs/en/cowboy/2.2/guide/getting_started/index.html') diff --git a/docs/en/cowboy/2.2/guide/getting_started/index.html b/docs/en/cowboy/2.2/guide/getting_started/index.html index 2a2f077a..c7b71b1f 100644 --- a/docs/en/cowboy/2.2/guide/getting_started/index.html +++ b/docs/en/cowboy/2.2/guide/getting_started/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Getting started @@ -91,7 +91,7 @@ to get your environment setup before you continue.

First, let’s create the directory for our application.

-
@@ -100,7 +100,7 @@ $ cd hello_erlang

Then we need to download Erlang.mk. Either use the following command or download it manually.

-
@@ -108,7 +108,7 @@ http://www.gnu.org/software/src-highlite -->

We can now bootstrap our application. Since we are going to generate a release, we will also bootstrap it at the same time.

-
@@ -117,7 +117,7 @@ http://www.gnu.org/software/src-highlite --> necessary for creating the release. We can already build and start this release.

-
@@ -138,7 +138,7 @@ handler.

We will modify the Makefile to tell the build system it needs to fetch and compile Cowboy:

-
@@ -167,7 +167,7 @@ done at application startup.

Open the src/hello_erlang_app.erl file and add the necessary code to the start/2 function to make it look like this:

-
@@ -197,7 +197,7 @@ and Websocket handlers. For this tutorial we will use a plain HTTP handler.

Generate a handler from a template:

-
@@ -205,7 +205,7 @@ http://www.gnu.org/software/src-highlite -->

Then, open the src/hello_handler.erl file and modify the init/2 function like this to send a reply.

-
@@ -278,6 +278,8 @@ in your browser, you should get a nice Hello Erlang! displayed!

+
  • 2.3
  • +
  • 2.2
  • 2.1
  • -- cgit v1.2.3