
for example, for a repo contains appwrite.json
, i want to be able to push to either local docker instance or remote appwrite cloud, i am struggling for finding any steps for doing it in the official doc.
I asked GenAI to create a command for me like this:
appwrite client --endpoint http://localhost:8310/v1 --project-id my-project --key standard_my_key
appwrite login --email local@local.com --password local-user-pwd
It shows:
ā Success: Setting client
ā¹ Info: You are currently signed in as
ā Success: Successfully signed in as local@local.com
ā„ Hint: Next you can create or link to your project using 'appwrite init project'
However, i see no changes in the appwrite.json, and it works only after i manually change the endpoint
in appwrite .json
to localhost
, it starts working.
The 1st problem is appwrite init project
does not really link, it only create new...
i wonder do i need to change the file manually every time i need to switch among environments? any suggested way of doing it plz?
thanks š
Recommended threads
- Unable to connect. Is the computer able ...
The following code leads to this error, ```javascript const account = new Account(client); const user = await account.get(); ``` It happens on a local...
- Deploy a bot
How can I deploy my bot there ? The link : https://github.com/AresGn/PestAlert-bot.git
- Local login triggers rate limit, how to ...
Thanks š
