hojberg / elm-lang.org

The full source for http://elm-lang.org/, the home-page of the Elm programming language. Open sourced as a way to teach people how to write and serve Elm code. Follow the instructions in README.md to get the site setup on your own machine.

Home Page:http://elm-lang.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Elm Home Page

All of elm-lang.org is written in Elm. This repo is the client code (in Elm) and server code (in Haskell) that makes it all work.

You can use this to run elm-lang.org/try locally, but it is quite a challenge to set up.

Build From Source

First get the Elm developer workflow setup by reading the build from source instructions, then running this script with runhaskell BuildFromSource.hs 0.17. Be aware that this is all the actively developed branches, so things may be in an intermediate state.

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

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

Great! You should be set up with elm-lang.org running at localhost:8000/.

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

About

The full source for http://elm-lang.org/, the home-page of the Elm programming language. Open sourced as a way to teach people how to write and serve Elm code. Follow the instructions in README.md to get the site setup on your own machine.

http://elm-lang.org/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Elm 45.7%Language:JavaScript 42.5%Language:CSS 9.1%Language:Haskell 2.7%Language:HTML 0.1%