From 310409355aaffc1012a44d0faef583789f752358 Mon Sep 17 00:00:00 2001 From: Wen Yu Ge Date: Mon, 18 Jul 2022 13:39:00 -0400 Subject: [PATCH] update generation steps according to suggestion --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cfaa18047a..0a83f043ff 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -317,8 +317,8 @@ The Runtimes for all supported cloud functions (multicore builds) can be found a For generating a new console SDK follow the next steps: -1. Update the console spec file located at `app/config/specs/swagger2-.console.json` using the Appwrite CLI tools. Run the `php app/cli.php specs normal` command in a running `appwrite/appwrite` container.. -2. Generate a new SDK using the command `php app/cli.php sdks ` +1. Update the console spec file located at `app/config/specs/swagger2-.console.json` using Appwrite Tasks. Run the `php app/cli.php specs normal` command in a running `appwrite/appwrite` container. +2. Generate a new SDK using the command `php app/cli.php sdks` 3. Change your working dir using `cd app/sdks/console-web` 4. Build the new SDK `npm run build` 5. Copy `iife/sdk.js` to `appwrite.js`