Files
elm-0.19-workshop/README.md
Lanie Hei 3c6e9aeb07 Adds instructions to download elm binary
`elm make Main.elm --output elm.js` will not work without first downloading the binary
2018-10-04 17:45:48 -05:00

2.5 KiB

This workshop is licensed under a Creative Commons Attribution 4.0 International License. The server/ directories use moleculer-node-realworld-example, which has its own license. The JavaScript interop example uses localForage, which is (c) 2013-2017 Mozilla, under the Apache License 2.0. The rest of the code is a variation on elm-spa-example, an MIT-licensed implementation of the realworld front-end. Many thanks to the authors of these projects!

Getting Started

  1. Install Node.js 7.0.0 or higher

  2. Install the elm binary for Mac, Windows, or Linux.

  3. Add a plugin for your editor of choice: Atom, Sublime Text, VS Code, Light Table, Vim, Emacs, Brackets

  4. Not required, but highly recommended: enable "elm-format on save" in your editor.

  5. Run the following command to install all the other Elm tools:

Note: Make sure not to run this command with sudo! If it gives you an EACCESS error, apply this fix and then re-run the command (still without sudo).

npm install -g elm-test@beta elm-format
  1. Clone this repository

Run this at the terminal:

git clone https://github.com/rtfeldman/elm-0.19-workshop.git
cd elm-0.19-workshop
  1. Continue with either the intro or advanced instructions, depending on which workshop you're doing!