File tree Expand file tree Collapse file tree 9 files changed +46
-12
lines changed Expand file tree Collapse file tree 9 files changed +46
-12
lines changed Original file line number Diff line number Diff line change 1+ import React , { PureComponent } from 'react'
2+ import CodeSnippet from 'src/shared/components/CodeSnippet'
3+ import { SafeBlankLink } from 'src/utils/SafeBlankLink'
4+
5+ import { event } from 'src/cloud/utils/reporting'
6+
7+ export class InstallDependencies extends PureComponent {
8+ private logCopyCodeSnippet = ( ) => {
9+ event ( 'firstMile.nodeJSWizard.installDependencies.code.copied' )
10+ }
11+ render ( ) {
12+ return (
13+ < >
14+ < h1 > Install Dependencies</ h1 >
15+ < p >
16+ First, you need to install the{ ' ' }
17+ < code style = { { color : '#B7B8FF' } } > @influxdata/influxdb-client</ code > { ' ' }
18+ module. Run the command below in your terminal.
19+ </ p >
20+ < CodeSnippet
21+ text = "npm install --save @influxdata/influxdb-client"
22+ onCopy = { this . logCopyCodeSnippet }
23+ />
24+ < p style = { { fontStyle : 'italic' } } >
25+ You’ll need to have{ ' ' }
26+ < SafeBlankLink href = "https://nodejs.org/download/release/latest-v14.x/" >
27+ Node.js v14 LTS
28+ </ SafeBlankLink > { ' ' }
29+ or higher installed.
30+ </ p >
31+ </ >
32+ )
33+ }
34+ }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -9,14 +9,14 @@ import {
99 SubwayNav ,
1010} from '@influxdata/clockface'
1111
12- import { InstallDependencies } from 'src/homepageExperience/components/steps/InstallDependencies'
12+ import { InstallDependencies } from 'src/homepageExperience/components/steps/nodejs/ InstallDependencies'
1313import { Overview } from 'src/homepageExperience/components/steps/Overview'
1414import { CreateToken } from 'src/homepageExperience/components/steps/CreateToken'
15- import { InitalizeClient } from 'src/homepageExperience/components/steps/InitalizeClient'
16- import { WriteData } from 'src/homepageExperience/components/steps/WriteData'
17- import { ExecuteQuery } from 'src/homepageExperience/components/steps/ExecuteQuery'
18- import { Finish } from 'src/homepageExperience/components/steps/Finish'
19- import { ExecuteAggregateQuery } from 'src/homepageExperience/components/steps/ExecuteAggregateQuery'
15+ import { InitalizeClient } from 'src/homepageExperience/components/steps/python/ InitalizeClient'
16+ import { WriteData } from 'src/homepageExperience/components/steps/python/ WriteData'
17+ import { ExecuteQuery } from 'src/homepageExperience/components/steps/python/ ExecuteQuery'
18+ import { Finish } from 'src/homepageExperience/components/steps/python/ Finish'
19+ import { ExecuteAggregateQuery } from 'src/homepageExperience/components/steps/python/ ExecuteAggregateQuery'
2020
2121import { NodejsIcon } from 'src/homepageExperience/components/HomepageIcons'
2222
Original file line number Diff line number Diff line change @@ -9,14 +9,14 @@ import {
99 SubwayNav ,
1010} from '@influxdata/clockface'
1111
12- import { InstallDependencies } from 'src/homepageExperience/components/steps/InstallDependencies'
12+ import { InstallDependencies } from 'src/homepageExperience/components/steps/python/ InstallDependencies'
1313import { Overview } from 'src/homepageExperience/components/steps/Overview'
1414import { CreateToken } from 'src/homepageExperience/components/steps/CreateToken'
15- import { InitalizeClient } from 'src/homepageExperience/components/steps/InitalizeClient'
16- import { WriteData } from 'src/homepageExperience/components/steps/WriteData'
17- import { ExecuteQuery } from 'src/homepageExperience/components/steps/ExecuteQuery'
18- import { Finish } from 'src/homepageExperience/components/steps/Finish'
19- import { ExecuteAggregateQuery } from 'src/homepageExperience/components/steps/ExecuteAggregateQuery'
15+ import { InitalizeClient } from 'src/homepageExperience/components/steps/python/ InitalizeClient'
16+ import { WriteData } from 'src/homepageExperience/components/steps/python/ WriteData'
17+ import { ExecuteQuery } from 'src/homepageExperience/components/steps/python/ ExecuteQuery'
18+ import { Finish } from 'src/homepageExperience/components/steps/python/ Finish'
19+ import { ExecuteAggregateQuery } from 'src/homepageExperience/components/steps/python/ ExecuteAggregateQuery'
2020
2121import { PythonIcon } from 'src/homepageExperience/components/HomepageIcons'
2222
You can’t perform that action at this time.
0 commit comments