the hawaii game but in elm instead of react
Use an installer for Elm or run:
npm install -g elm elm-live
That will install Elm globally along with Elm Live which is a very handy live reloader.
Install the Elm dependencies and compile:
elm make src/Main.elm --output index.js
To install the Node dependencies, cd into ./server
and run:
npm install
or
yarn
To run the JSON API while still in ./server
:
npm start
or
yarn start
To develop:
elm-live src/Main.elm --open -- --output=index.js
To run the optimizer:
npm install uglify-js --global
chmod +x ./optimize.sh
./optimize.sh