Skip to content

grrinchas/dg-elm-starter-kit

Repository files navigation

Elm development environment

Development environment for writing Elm apps.

Based on the amazing work of javascript-development-environment.

Features

  1. Development Server with hot reloading.
  2. Optimised bundling and minification for the production.

Install

First let's install dependencies

  • If you don't have install node.js.
  • Also you will need yarn package manager.
  • And of course elm environment.

After that

  • Clone this repo in a new project:
git clone https://github.com/grrinchas/dg-elm-starter-kit my-elm-project
  • Re-initialise as your own repo:
cd my-elm-project
rm -rf .git         # on Windows: rmdir .git /s /q
git init
  • Install all JavaScript dependencies:
yarn install
  • Install all Elm dependencies:
elm-package install

Development

  • Start development server:
yarn run start
  • Then navigate to:
http://localhost:3000

Production

  • To bundle files for deployment:
yarn run build