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
- SSR Auth with Tanstack Start requires ha...
I followed the Next.js guide for SSR Auth on https://appwrite.io/docs/tutorials/nextjs-ssr-auth/step-1 I tried to replicate it for Tanstack Start. However, on...
- Invalid token passed in the request
Hello, I have an issue using updateMagicURLSession. I send the email using sendMagicLink, which works fine. When i click the link in the email i get the invali...
- how can i make a relationship between a ...
i want to relate the $id from users auth table in appwrite with other column in my table user_profile. because is the same user... how can i have exactly the s...