Skip to content

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.

License

Notifications You must be signed in to change notification settings

chinxianjun/elm-lang.org

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elm Home Page

All of 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 locally.

Set up

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

It may be necessary to add Elm-Platform/master/bin to your PATH at this point, ahead of any other installs of Elm on your machine.

Then in the Elm-Platform/master/ 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 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 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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Elm 45.2%
  • JavaScript 42.2%
  • CSS 9.0%
  • Haskell 3.5%
  • HTML 0.1%