update documentation to use yarn instead of npm
This commit is contained in:
Родитель
87f61ccc3a
Коммит
2d841a684e
11
README.md
11
README.md
|
@ -11,7 +11,7 @@ This is an application insights based project that displays a bots analytics das
|
||||||
1. Clone
|
1. Clone
|
||||||
2. [Get an Application Insights App ID and Api Key](https://dev.applicationinsights.io/documentation/Authorization/API-key-and-App-ID)
|
2. [Get an Application Insights App ID and Api Key](https://dev.applicationinsights.io/documentation/Authorization/API-key-and-App-ID)
|
||||||
|
|
||||||
4. Run `npm run start:dev`
|
4. Run `yarn start:dev`
|
||||||
5. Open **http://localhost:3000/**
|
5. Open **http://localhost:3000/**
|
||||||
6. Run through setup and afterwards, fill in **API Key** and **Application ID**
|
6. Run through setup and afterwards, fill in **API Key** and **Application ID**
|
||||||
|
|
||||||
|
@ -73,12 +73,13 @@ Thinking about integrating with:
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/CatalystCode/ibex-dashboard.git
|
git clone https://github.com/CatalystCode/ibex-dashboard.git
|
||||||
cd ibex-dashboard
|
cd ibex-dashboard
|
||||||
npm install
|
npm install -g yarn
|
||||||
|
yarn
|
||||||
```
|
```
|
||||||
|
|
||||||
### Dev
|
### Dev
|
||||||
```bash
|
```bash
|
||||||
npm run start:dev
|
yarn start:dev
|
||||||
```
|
```
|
||||||
|
|
||||||
### Test Watcher
|
### Test Watcher
|
||||||
|
@ -86,12 +87,12 @@ Runs the test watcher in an interactive mode.
|
||||||
By default, runs tests related to files changes since the last commit.
|
By default, runs tests related to files changes since the last commit.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm test
|
yarn test
|
||||||
```
|
```
|
||||||
|
|
||||||
### Build for Production
|
### Build for Production
|
||||||
```bash
|
```bash
|
||||||
npm run build
|
yarn build
|
||||||
```
|
```
|
||||||
|
|
||||||
## What’s Inside?
|
## What’s Inside?
|
||||||
|
|
Загрузка…
Ссылка в новой задаче