aboutsummaryrefslogtreecommitdiffstats
path: root/guide/getting_started.html
diff options
context:
space:
mode:
Diffstat (limited to 'guide/getting_started.html')
-rw-r--r--guide/getting_started.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/guide/getting_started.html b/guide/getting_started.html
index bd13fd3..2579fa4 100644
--- a/guide/getting_started.html
+++ b/guide/getting_started.html
@@ -41,7 +41,7 @@ to your remote repositories. For example, for GitHub users,
put all your projects in a common folder with the same name
as your username. For example <span class="emphasis"><em>$HOME/ninenines/cowboy</em></span> for
the Cowboy project.</p></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="_downloading_erlang_mk"></a>2.2. Downloading Erlang.mk</h2></div></div></div><p>At the time of writing, Erlang.mk is unlikely to be present
-in your Erlang distribution, or even in your OS packages.</p><p>The next step is therefore to download it:</p><pre class="programlisting">$ wget https://erlang.mk/erlang.mk</pre><p>Or:</p><pre class="programlisting">$ curl https://erlang.mk/erlang.mk</pre><p>Alternatively, just <a class="ulink" href="https://erlang.mk/erlang.mk" target="_top">click on this link</a>.</p><p>Make sure you put the file inside the folder we created previously.</p></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="_getting_started_with_otp_applications"></a>2.3. Getting started with OTP applications</h2></div></div></div><p>An OTP application is an Erlang application that has a supervision
+in your Erlang distribution, or even in your OS packages.</p><p>The next step is therefore to download it:</p><pre class="programlisting">$ wget https://erlang.mk/erlang.mk</pre><p>Or:</p><pre class="programlisting">$ curl https://erlang.mk/erlang.mk -o erlang.mk</pre><p>Alternatively, just <a class="ulink" href="https://erlang.mk/erlang.mk" target="_top">click on this link</a>.</p><p>Make sure you put the file inside the folder we created previously.</p></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="_getting_started_with_otp_applications"></a>2.3. Getting started with OTP applications</h2></div></div></div><p>An OTP application is an Erlang application that has a supervision
tree. In other words, it will always have processes running.</p><p>This kind of project can be automatically generated by Erlang.mk.
All you need to do is use the <code class="literal">bootstrap</code> target:</p><pre class="programlisting">$ make -f erlang.mk bootstrap</pre><p>Something similar to the following snippet will then appear
on your screen:</p><pre class="programlisting">git clone https://github.com/ninenines/erlang.mk .erlang.mk.build
@@ -121,7 +121,7 @@ manually.</p><p>Erlang.mk is very easy to setup: all that you need to do is to
create a folder, put Erlang.mk in it, and write a one line
Makefile containing:</p><pre class="programlisting">include erlang.mk</pre><p>For a step by step:</p><pre class="programlisting">$ mkdir hello_joe
$ cd hello_joe
-$ curl https://erlang.mk/erlang.mk
+$ curl https://erlang.mk/erlang.mk -o erlang.mk
$ echo "include erlang.mk" &gt; Makefile
$ make</pre><p>From that point onward you can create an <code class="literal">src/</code> folder or start
using templates.</p></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="_using_spaces_instead_of_tabs"></a>2.7. Using spaces instead of tabs</h2></div></div></div><p>Erlang.mk defaults to tabs when creating files from templates.