Skip to content

Commit ce3f718

Browse files
author
José Valim
committed
Last try with formatting
1 parent 56579b3 commit ce3f718

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

_posts/2013-05-02-elixir-on-xen.markdown

+20-20
Original file line numberDiff line numberDiff line change
@@ -24,25 +24,25 @@ Producing an Elixir image using the free Erlang on Xen Build Service requires ju
2424

2525
1. Add a dependency on `lingex` to your `mix.exs` file:
2626

27-
{% highlight elixir %}
28-
def deps do
29-
[ { :lingex, github: "maximk/lingex" } ]
30-
end
31-
{% endhighlight %}
27+
{% highlight elixir %}
28+
def deps do
29+
[ { :lingex, github: "maximk/lingex" } ]
30+
end
31+
{% endhighlight %}
3232

3333
2. Run `mix deps.get` to update your dependencies. This adds a few custom tasks
3434
to the mix tool (`lingex.build`, `lingex.image`, and `lingex.build_image`)
3535

3636
3. Set `lingex` options. Add the following lines to your `mix.exs` file:
3737

38-
{% highlight elixir %}
39-
def project do
40-
[ lingex_opts: [
41-
build_host: "build.erlangonxen.org:8080",
42-
username: "test",
43-
password: "test" ] ]
44-
end
45-
{% endhighlight %}
38+
{% highlight elixir %}
39+
def project do
40+
[ lingex_opts: [
41+
build_host: "build.erlangonxen.org:8080",
42+
username: "test",
43+
password: "test" ] ]
44+
end
45+
{% endhighlight %}
4646

4747
4. Optionally, you may register with the build service [here](http://build.erlangonxen.org/register) and update the credentials accordingly. For the complete list of recognized options see the build service documentation.
4848

@@ -54,19 +54,19 @@ And this is all. Erlang on Xen is going to boot the Erlang VM and the standard E
5454

5555
1. In the Erlang shell, first start IEx:
5656

57-
{% highlight elixir %}
58-
1> application:start(iex).
59-
ok
60-
{% endhighlight %}
57+
{% highlight elixir %}
58+
1> application:start(iex).
59+
ok
60+
{% endhighlight %}
6161

6262

6363
2. Then hit `Ctrl+G`. This will open up the user switch command interface from the Erlang shell.
6464

6565
3. In the user switch interface, type:
6666

67-
User switch command
68-
--> s 'Elixir-IEx'
69-
--> c
67+
User switch command
68+
--> s 'Elixir-IEx'
69+
--> c
7070

7171
This will bring you to Interactive Elixir and you can execute Elixir expressions as usual!
7272

0 commit comments

Comments
 (0)