# Elm Home Page

All of [elm-lang.org](http://elm-lang.org) is written in Elm. This repo
contains all that source code, both for the frontend and for the backend.

You can also use this to run [elm-lang.org/try](http://elm-lang.org/try)
locally.

## Set up

First get the Elm developer workflow setup by running [this script][bfs] with
`runhaskell BuildFromSource.hs master`.

[bfs]: https://github.com/elm-lang/elm-platform/blob/master/installers/BuildFromSource.hs

Then in the `Elm-Platform/master/` directory, run these commands:

```bash
git clone https://github.com/elm-lang/elm-lang.org.git
cd elm-lang.org
git checkout 0.15
cabal sandbox init --sandbox ..
cabal configure
cabal install --only-dependencies
cabal build
./dist/build/run-elm-website/run-elm-website
```

Great! You should be set up with [elm-lang.org](http://elm-lang.org/) running at
[localhost:8000/](http://localhost:8000/).

You can run `cabal clean` to clear out all cached build information and start fresh.

# Elm Home Page

All of [elm-lang.org](http://elm-lang.org) is written in Elm. This repo
contains all that source code, both for the frontend and for the backend.

You can also use this to run [elm-lang.org/try](http://elm-lang.org/try)
locally.

## Set up

First get the Elm developer workflow setup by running [this script][bfs] with
`runhaskell BuildFromSource.hs master`.

[bfs]: https://github.com/elm-lang/elm-platform/blob/master/installers/BuildFromSource.hs

Then in the `Elm-Platform/master/` directory, run these commands:

```bash
git clone https://github.com/elm-lang/elm-lang.org.git
cd elm-lang.org
git checkout master
cabal sandbox init --sandbox ..
cabal configure
cabal install --only-dependencies
cabal build
./dist/build/run-elm-website/run-elm-website
```

Great! You should be set up with [elm-lang.org](http://elm-lang.org/) running at
[localhost:8000/](http://localhost:8000/).

You can run `cabal clean` to clear out all cached build information and start fresh.

Make sure people are using the master branch
Make sure people are using the master branch
