Skip to content
A simple Makefile able to create a new Elm app
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis.yml
LICENSE
Makefile
README.md
elm-create.sh
package.json
print-version.js
test.sh

README.md

elm-boilerplate

A simple Makefile able to create a new Elm app.

Build Status

Installation

Make sure you have elm, elm-live, elm-test and elm-css installed :

$ 2> /dev/null npm list --global --depth=0 | grep elm

or install them :

$ npm install --global elm elm-live elm-test elm-css

and simply install elm-boilerplate :

$ npm install --global elm-boilerplate

Create a new app

elm-boilerplate allows you to create a new Elm app by using elm-create

$ mkdir hello-world
$ cd hello-world
$ elm create hello world
$ make help

Start dev server

During development, you can use make dev to start elm-live and benefit from livereload

make dev # start dev server on port 8000
make dev PORT=1337 # start dev server on port 1337

Start debug server

During debug, you can use make debug to start elm-reactor and benefit from the history

make debug # start debug server on port 8000
make debug PORT=1337 # start debug server on port 1337

Run tests

You can run all tests suites with make test or use the watch mode with make test-watch

make test # run tests suites
make test-watch # watch mode
You can’t perform that action at this time.