Giter Club home page Giter Club logo

michelangelo13 / elm-lang.org Goto Github PK

View Code? Open in Web Editor NEW

This project forked from elm/elm-lang.org

1.0 2.0 0.0 18.11 MB

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/

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

Haskell 2.04% Elm 55.90% JavaScript 38.29% CSS 3.23% HTML 0.55%

elm-lang.org's Introduction

Template for creating Elm websites

This project contains all of the source files used to create elm-lang.org. It provides a server and general structure for creating your own Elm website. The server lets you mix Elm, images, videos, HTML/CSS/JS, and whatever else you need.

You can also use this to run elm-lang.org/try locally.

Set up

First make sure that you have the Elm compiler installed (directions).

Then follow these steps to get the website running locally:

git clone https://github.com/elm-lang/elm-lang.org.git
cd elm-lang.org
git checkout stable
elm-package install
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.

Project Structure

  • public/ — all of the .elm files used for the site. This makes up the majority of client-side code. You can change/delete the existing files and add entirely new files. The changes, deletions, and additions will be served automatically.

  • resources/ — the various resources needed for Elm. This is where you put all of your non-Elm content, like images, videos, JavaScript code, etc.

  • server/ — the Haskell files responsible for serving everything from .elm files to images. Look here if you need to change how a particular resource is served or if you want to disable some of the sites features (such as the online editor).

elm-lang.org's People

Contributors

process-bot avatar tomberek avatar michaelbjames avatar thsoft avatar madscoaducom avatar maxsnew avatar cassiebaer avatar ggreif avatar michalisk avatar apanatshka avatar hoosieree avatar mhr avatar dobesv avatar deadfoxygrandpa avatar uehaj avatar slava-sh avatar miller-time avatar ivanov avatar nathan avatar mgold avatar akkartik avatar kamalmarhubi avatar evancz avatar xtian avatar alphydan avatar vbychkovsky avatar trevorfancher avatar cognominal avatar stevenheidel avatar relrod avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.