Merge pull request #12020 from influxdata/docs/influxdb-steps
Create documentation for updating api client and updating swaggerpull/12023/head
commit
b821b250fc
|
@ -0,0 +1,15 @@
|
|||
## Updating the API Client
|
||||
|
||||
|
||||
* Clone influxdata/influxdb2-js repo, if you haven’t
|
||||
* cd influxdata/influxdb2-js
|
||||
* git pull on master
|
||||
* git checkout -b “branch name”
|
||||
* open the repo in vs code
|
||||
* update the wrapper class with correct api call and return value
|
||||
* run ‘npm run build && npm run lint’ in the influxdb2-js dir
|
||||
* git add the changed files
|
||||
* send a pr for the update to brandon?
|
||||
* git pull master on influxdb repo
|
||||
* update the package.json with correct version number
|
||||
* restart npm
|
|
@ -0,0 +1,17 @@
|
|||
## Updating the Swagger.yml
|
||||
|
||||
* get latest from master
|
||||
* create a separate branch
|
||||
* update swagger.yml with your change
|
||||
* once the change is merged in master, cd into influxdb2-js dir
|
||||
* get latest from master and create a separate branch
|
||||
* run ‘npm run generate’ command in influxdb2-js dir
|
||||
* npm run buid && npm run lint
|
||||
* git status
|
||||
* git add .
|
||||
* git commit -m “message”
|
||||
* git push
|
||||
* create pr and merge it in
|
||||
* get latest from master
|
||||
* create a separate branch
|
||||
* update influxdb2-js in package.json with correct version
|
Loading…
Reference in New Issue