typescript influxdb demo example


Go to https://github.com/kirinchen/typescript-influxdb-example

and clone this project first.

Preparatory action

Create env file ./myconfig/typescript-influxdb-example.env
the content is
influxdata_url={influxdata_url}
influxdata_token={influxdata_token}
influxdata_org={influxdata_org}
influxdata_bucket={influxdata_bucket}
Replace those value :
image
  • go Tokens Tab , and generate new Toke , and copy token to influxdata_token
  • done

NPM

  • Install Nodejs and Npm
  • cmd go to project floder
  • type npm install

Run

  • type npm run start

留言

這個網誌中的熱門文章

angular 如何Http 如何設定 CORS (Cross-Origin Resource Sharing)

Google Map 單車路徑計算坡度和角度小工具

Google URL Shortener API 快速教學