Correct the location of the runtime system

This commit is contained in:
Evan Czaplicki 2012-06-26 14:38:17 -05:00
parent 68840c6180
commit fefb462e44

View file

@ -34,7 +34,7 @@ That is almost everything. Now, we will create a simple Elm project. The followi
The first two commands create a new directory and navigate into it. The `echo` command places a simple program into `main.elm` (do this manually if you do not have `echo`). The final command starts the Elm server at [localhost](http://localhost:8000/), allowing you to navigate to `main.elm` and see your first program in action.
An important note: When you install the `elm` compiler, it automatically downloads Elm's JavaScript runtime system and places it in the same place as the `elm` executable (`/home/evan/.cabal/bin` or wherever it happens to be on your system). The runtime system will follow the name scheme `elm-runtime-x.y.z.js` where `x.y.z` matches the version number of the compiler. If you want to serve this file from a different location, *copy* it from its home and always be sure that code compiled with version `x.y.z` of the compiler is served with version `x.y.z` of the runtime system.
An important note: When you install the `elm` compiler, it automatically downloads Elm's JavaScript runtime system to `~/.cabal/share/Elm-x.y.z/`. The runtime system will follow the name scheme `elm-runtime-x.y.z.js` where `x.y.z` matches the version number of the compiler. If you want to serve this file from a different location, *copy* it from its home and always be sure that code compiled with version `x.y.z` of the compiler is served with version `x.y.z` of the runtime system.
Installation for Haskell-users