Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 568 Bytes

README.md

File metadata and controls

42 lines (25 loc) · 568 Bytes

Example App

How to build and run

Execute the program in a lightweight manner

Invoke:

$ elm reactor

Then access localhost:8000 and click src/Main.elm.

Compile to JS

Invoke:

$ mkdir -p public/js
$ elm make src/Main.elm --optimize --output=public/js/main.js

and open public/index.html.

Run tests

Install elm-test via npm:

$ npm install elm-test

and then invoke:

$ npx elm-test

(or just invoke $ elm-test if you set appropriate PATH to access the executable file)