Skip to content

tidepool-org/jellyfish

Repository files navigation

Jellyfish

Build Status

Jellyfish are known for their user friendliness and uploads, sometimes.

Install

Clone this repo then install dependencies:

$ npm install

Quick start

Start the development server with:

$ npm start

JSHint

Lint the files in this repo according to the local .jshintrc with:

$ npm run jshint

Or have the linter watch your files as you work with:

$ npm run jshint-watch

Building the client

The client app is built as a static site in the dist/ directory.

$ SERVE_STATIC=dist npm start

You can also build everything at once locally by simply running:

$ npm run build
$ SERVE_STATIC=dist npm start

NOTE: shelljs used in the build scripts is known to sometimes cause an infinite loop using the synchronous version of exec. If a build script seems to take too long or hang, please kill the process and try again.