Skip to content

laiboonh/RepairsFrontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Actions Netlify

Setup

  1. Install elm https://guide.elm-lang.org/install/elm.html
  2. Install nodejs https://nodejs.org/en/
  3. Try elm-repl to see that it works
  4. Install elm-format sudo npm install elm-format -g
  5. Install elm-test sudo npm install elm-test -g
  6. Install uglifyjs sudo npm install uglify-js -g
  7. Install IntelliJ Elm plugin
  8. Under Preference setup toolchain for Elm compiler, elm-format and elm-test

Run

  1. Run ./optimize.sh in terminal
  2. Open build/index.hmtl in browser

Run Tests

  1. elm-test

Development

  1. npx elm-test --watch
  2. To add dependencies elm install elm/random
  3. To have quick feedback loop by watching file for changes
    1. sudo npm install -g chokidar-cli
    2. chokidar "**/*.elm" -c "./optimize.sh"
    3. Reload build/index.hmtl in browser

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published