You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CLI requires an endpoint, project ID, API key and a locale to be able to communicate with the {{ spec.title | caseUcfirst }} backend server. There are two ways to achieve this
45
45
46
-
### 1. Pass in the project settings along with `appwrite init`
46
+
### 1. Pass in the project settings along with `{{ language.params.executableName }} init`
@@ -58,7 +58,7 @@ Invoking `{{ language.params.executableName }} init` without any params triggers
58
58
### Note
59
59
By default, requests to domains with self signed SSL certificates (or no certificates) are disabled. If you trust the domain, you can bypass the certificate validation by using
3. Head over to the generated SDK and build the CLI docker image
129
129
```sh
130
130
$ cd examples/CLI
131
-
$ docker build -t appwrite/cli .
131
+
$ docker build -t {{ spec.title | lower }}/cli .
132
132
```
133
133
134
134
4. Install the CLI
135
135
136
136
MacOS and Linux
137
137
138
-
Open `install.sh` and change [this line](https://github.com/appwrite/sdk-for-cli/blob/master/install.sh#L33) to `APPWRITE_CLI_IMAGE_VERSION=latest` and
Open `install.sh` and change [this line](https://github.com/{{ spec.title | lower }}/sdk-for-cli/blob/master/install.sh#L33) to `{{ spec.title | upper }}_CLI_IMAGE_VERSION=latest` and
Open `install.ps1` and change [this line](https://github.com/appwrite/sdk-for-cli/blob/master/install.ps1#L28) to `APPWRITE_CLI_IMAGE_VERSION=latest` and
Open `install.ps1` and change [this line](https://github.com/{{ spec.title | lower }}/sdk-for-cli/blob/master/install.ps1#L28) to `{{ spec.title | upper }}_CLI_IMAGE_VERSION=latest` and
0 commit comments