Skip to content

Repository files navigation

Export

The Tidepool export service.

Build StatusCode ClimateIssue CountDocker ImageDocker Image version

Running as part of the Tidepool Stack

The easiest way to run the Tidepool export service is as part of the Tidepool Development environment. You'll have to uncomment the export service in the docker-compose.yml, but after that, you can just run docker-compose up -d, and you're all set.

Setup

If you want to develop any part of the export service, you can run the service locally on Node.

  1. Install Node version 24.15.0 or later. NVM is highly recommended.
  2. Execute nvm use to use the correct version of Node.
  3. Install Yarn.
  4. Execute yarn to install all dependencies

Execute

yarn start:dev will start the service in development mode. It will watch for changes and restart the service as needed.

Testing

yarn test will run the tests.

Linting

yarn lint will run the linter.

Building

yarn build will build the service.

Configuration

Configuration is done via environment variables. The following variables are available:

VariableDescriptionExample
API_HOSTThe hostname of the Tidepool APIhttps://qa1.development.tidepool.org
DEBUG_LEVELThe log levelinfo
DEBUG_PDFWhether to write out files for debugging purposesfalse
PLOTLY_ORCAThe URL of the Plotly Orca servicehttp://localhost:9091
EXPORT_TIMEOUTThe maximum time to wait for a request to complete120000

About

A web service that provides the ability to download Tidepool data in Excel format

Resources

Contributing

Security policy

Stars

4 stars

Watchers

15 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages