Simple Elm project consuming PokéAPI.
Demo.
- Elm version 0.18 (official install guide)
- To run
elm
using Docker:alias elm='docker run -it --rm -v "$(pwd):/code" -w "/code" -e "HOME=/tmp" -u $UID:$GID -p 8000:8000 codesimple/elm:0.18'
$ git clone https://github.com/brenopanzolini/pokelmon.git
$ cd pokelmon
Then install dependencies:
$ elm-package install
You can start the project by running:
$ yarn start
This will execute elm-reactor and you can access the project in http://localhost:8000.
You can build the project by running:
$ yarn build
This will generate the compiled files in dist/built folder.