Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

mantl/mantl-ui-frontend

Repository files navigation

Mantl UI frontend

A frontend for Mantl UI.

It looks a bit like this:

Mantl UI Frontend

Table of Contents

Developing

  1. Install Elm
  2. Install Elm dependencies: elm package install
  3. Install Node dependencies: npm install
  4. Install netpbm: brew install netpbm (on a Mac)
  5. Install Brunch globally: npm install -g brunch
  6. Run brunch watch --server to continuously compile
  7. View the app at localhost:3333

Tests

To run the tests, run elm reactor and then open localhost:8000/app/Test.elm

Preparing for Production

  1. Make sure jpegtran and optipng are installed (brew install jpeg optipng)
  2. Remove development artifacts: rm -rf public
  3. Create production artifacts: brunch build --production