To run in development, first ensure craconapi
is running, then compile:
- cd
src/
elm make Main.elm --output ../public/js/app.js --debug --warn
- Then
cd ../public
and runalfred
or something to serve the files - visit http://localhost:4001/
This can be nice: while :; do clear; your_command; sleep 2; done
Or this if you have elm-live
installed:
elm-live Main.elm --output=../public/js/app.js --dir=../public --open --pushstate --debug --warn