Skip to content

dwayne/elm-super-rentals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Super Rentals - Live Demo

A screenshot of Super Rentals

An Elm implementation of the Ember Tutorial's "Super Rentals" 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

The Ember Tutorial's "Super Rentals" web application written in Elm.

Topics

Resources

Stars

Watchers

Forks

Contributors