Elm front end for the energizedwork/ew-dashboards app.
Assuming you have a Node install.
$ npm install
(Leave off the --debug
in package.json if you don't want the time-traveling debugger.)
elm-live has you covered for auto compilation of Elm src & live reload of changes. It's wrapped via NPM to allow easy install and to allow tests to run concurrently:
# run the dev server + local CI
$ npm run start:test:watch
# run the tests only & rerun on file changes
$ npm run test:watch
# run the tests
$ npm run test
Elm is whitespace sensitive so elm-live uses elm-format for consistency. Please follow this convention.
Deploys are automatic on pushes to master and a green CI run on Heroku so just push to Github or merge a PR.
$ git push origin master
$ open http://dashboards.energizedwork.com/
If you need to do a manual deploy:
$ git remote add heroku https://git.heroku.com/ew-dashboards-ui.git
$ git push heroku master
$ open http://dashboards.energizedwork.com/