Skip to content

dwayne/elm-todos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

145 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elm Todos - Live Demo

A screenshot of Elm Todos

An Elm implementation of the TodoMVC's to-do list web application.

Usage

Develop

An isolated, reproducible development environment is provided with Nix. Enter using:

nix develop

Build

To build the development version of the application:

nix build
# or
nix build .#dev

To build the production version of the application:

nix build .#prod

Serve

To serve the development version of the application:

nix run
# or
nix run .#dev

To serve the production version of the application:

nix run .#prod

Check

To run various checks to ensure that the flake is valid and that the development and production versions of the application can be built.

nix flake check -L

Deploy

To deploy the production version of the application to Netlify:

nix run .#deploy

To simulate the deployment you can do the following:

nix run .#deploy -- -s

CI

  • check.yml runs checks on every change you push
  • deploy.yml deploys the production version of the application on every push to the master branch that successfully passes all checks

N.B. The Magic Nix Cache is used for caching the Nix store.

About

An Elm implementation of the TodoMVC's to-do list web application.

Topics

Resources

License

Stars

Watchers

Forks

Contributors