on master help sign in
Update README.md
commit8d681d174a451e1ef22fdf1097c9b426bd11b687 authorEvan Czaplicki <info@elm-lang.org> dateFri 2 Nov 2012, 21:11 (14 years ago) parent984f95f
1 file changed+5−3
README.md+5−3
README.md+5−3
@@ -10,9 +10,11 @@ Installation for General Use
1010----------------------------
1111
1212Download the [Haskell Platform](http://hackage.haskell.org/platform/). This will give you access to the Haskell compiler (needed to build Elm) and Haskell's package distribution system (to make installation of Elm easier). Elm works best
13−with version 7.4 of the Haskell compiler (i.e. GHC 7.4)
13+with version 7.4 of the Haskell compiler (i.e. GHC 7.4).
1414
15−Once installed (even if it already was), you must update your listing of Haskell packages with:
15+#### Installing the compiler and server
16+
17+Once the Haskell Platform is installed (even if it already was), you must update your listing of packages with:
1618
1719 cabal update
1820
@@ -22,7 +24,7 @@ This will ensure that the elm package is available. Then install Elm with:
2224
2325Assuming everything goes correctly (potential problems are discussed later), this will install the `elm` compiler on your machine. `elm` is a standard compiler that takes `.elm` files and produces `.html` and/or `.js` files. You can then use these files with your favorite web-framework. Use `elm --help` for more directions on how to use it.
2426
25−If you have this installed you can write and compile Elm locally.
27+If you have this installed you can write and compile Elm locally, so if the next step fails for you, it is safe to proceed without it.
2628
2729You can also install `elm-server` which is both a compiler and server, allowing you to develop without designing and setting up a server yourself. Running `elm-server` starts a server in the current directory. It will compile and serve any `.elm` files in the current directory and its sub-directories. This is how I prefer to develop Elm programs. Install with:
2830