diff --git a/collections/developers/javascript/grid3_javascript_installation.md b/collections/developers/javascript/grid3_javascript_installation.md index 99e3943..bac53cf 100644 --- a/collections/developers/javascript/grid3_javascript_installation.md +++ b/collections/developers/javascript/grid3_javascript_installation.md @@ -54,34 +54,16 @@ yarn add @threefold/grid_client To use the Grid Client locally, clone the repository then install the Grid Client: -- Clone the repository - ```bash - git clone https://github.com/threefoldtech/tfgrid-sdk-ts - ``` -- Install the Grid Client - - With yarn - ```bash - yarn install - ``` - - With npm - ```bash - npm install - ``` - ---- - - Clone the repository ```bash git clone https://github.com/threefoldtech/tfgrid-sdk-ts ``` -- Install the Grid Client - - With yarn +- Install the Grid Client with yarn or npm ```bash - yarn install +yarn install ``` - - With npm ```bash - npm install +npm install ``` > Note: In the directory **grid_client/scripts**, we provided a set of scripts to test the Grid Client. @@ -110,11 +92,11 @@ Make sure to set the client configuration properly before using the Grid Client. The easiest way to test the installation is to run the following command with either yarn or npm to generate the Grid Client documentation: * With yarn - * ``` + ``` yarn run serve-docs ``` * With npm - * ``` + ``` npm run serve-docs ``` @@ -127,11 +109,11 @@ You can explore the Grid Client by testing the different scripts proposed in **g - Update your customized deployments specs if needed - Run using [ts-node](https://www.npmjs.com/ts-node) - With yarn - - ```bash + ```bash yarn run ts-node --project tsconfig-node.json scripts/zdb.ts ``` - With npx - - ```bash + ```bash npx ts-node --project tsconfig-node.json scripts/zdb.ts ```