Skip to content
This repository has been archived by the owner on Nov 26, 2018. It is now read-only.
/ clamshell Public archive

[DEPRECATED] Blip's mobile companion app for adding context to diabetes data

License

Notifications You must be signed in to change notification settings

tidepool-org/clamshell

Repository files navigation

Note: The Blip Notes website was retired on 1/28/2016 in favor of the Blip Notes mobile apps for iOS and Android. For more information about the Blip Notes mobile apps please visit http://tidepool.org/products/blip-notes/.

[DEPRECATED] Clamshell

Blip's companion mobile web app, used for messaging.

Install

Requirements:

Clone this repo then install dependencies:

$ npm install

Quick start

Start the development server (in "mock mode") with:

$ source config/mock.sh
$ npm start

Open your web browser and navigate to http://localhost:3001/.

Config object

The config.app.js file will have some magic constants that look like __FOO__ statements replaced by the value of the corresponding environment variable when the build or development server is run. If you need to add new environment variables, you should also update webpack.config.js with definitions for them, as well as .jshintrc.

Build and deployment

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

We use Shio to deploy, so we separate the build in two.

Shio's build.sh script will take care of building the app itself with:

$ npm run build-app

Shio's start.sh script then builds the config from environment variables as a separate file with:

$ source config/env.sh
$ npm run build-config

After that, the app is ready to be served using the static web included in this repo:

$ npm run server

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

$ source config/mock.sh
$ npm run build
$ npm run server

About

[DEPRECATED] Blip's mobile companion app for adding context to diabetes data

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages