
I want to work with multiple appwrite instances. One for development, one for testing and one for production. How can i deploy a function to production with my cli. It’s connected to my test system. Can the cli be connected to multiple appwritw instances?

You can reconfigure the endpoint: https://appwrite.io/docs/command-line#configuration
And then you'd have to log in again

I use this script to maintain multiple prefs.json and switch between them
https://gist.github.com/stnguyen90/65315e1ac6a5530d30fd108030464a64

Perfect, i’ll try it later when I’m home.
Recommended threads
- What's the best way to store user subscr...
I am confused whether I should store the external subscription status in the user object itself, or have different database for this.
- How exact time for Appwrite Functions ge...
As title, I want to know how much time Appwrite Cloud wait for Functions until it gets hibernated (cold start). 30m? 1h?
- How much should I wait for Appwrite Func...
Here's my situation: 1. Deploy the function first 2. Add API key(other service) in env 3. Redeploy 4. The function still cannot recognize my API key. I think i...
