Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 845 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 845 Bytes

Carelink csv file uploader

Uploads raw carelink csv data into the tidepool platform

Setup

Configuration values (for example the URL of the Tidepool Platform) are set via environment variables. If you need to add a config value, modify the .config.js file. To set config values (do this before building the app), you can use Shell scripts that export environment variables, for example:

$ source config/local.sh

Usage

node csv_loader.js -f /path/to/CareLink-Export.csv -u <your_username> -p <your_pw>

  • --file
    • short code -f
    • path to the carelink csv file path
  • --username
    • short code -u
    • username who that data is being loaded for
  • --password
    • short code -p
    • password for this user
  • --timezone
    • short code -t
    • named timezone
    • default is config.DEFAULT_TIMEZONE