cantors_colors
TODO: make blog post - https://www.homeschoolmath.net/teaching/rational-numbers-countable.php TODO: make static site with https://cloudblogs.microsoft.com/opensource/2019/04/05/publishing-github-pages-from-azure-pipelines/
Install
Base
- Install NVM: https://github.com/creationix/nvm
- Install Elm:
npm install -g elm
Visual Studio Code
- Install
elm-format
:npm install -g elm-format
- Install VS Code from https://code.visualstudio.com/
- Add
code
command toPATH
for command line usageCmd-P
(Mac) orCtrl-P
(Linux): Launch Command Palette- Type
> Shell Command: Install code command in PATH
- Install Elm Extension
- From Command Line:
code --install-extension sbrink.elm
- From Web:
https://marketplace.visualstudio.com/items?itemName=sbrink.elm
- From Command Line:
- Restart VS Code
Use
elm-live
- Install:
npm install -g elm-live
elm-live src/Main.elm --open -- --debug
Useful Learning Links
- Guide: https://guide.elm-lang.org/
- Guide Code: https://github.com/evancz/elm-architecture-tutorial/
- Basic Project instructions: https://elm-lang.org/0.19.0/init
- Adding Packages, etc: https://guide.elm-lang.org/install.html
- HTML -> ELM: https://mbylstra.github.io/html-to-elm/
- JSON -> ELM: https://app.quicktype.io/
- https://github.com/evancz/elm-todomvc
- https://github.com/rtfeldman/elm-spa-example