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
- After assigning a domain to my Dart func...
I’ve attached the images. Could anyone please explain how this execution is being performed?
- I can't UNPAUSE my project with the free...
I received an email notifying me that my project had been paused due to inactivity, and the email included a link to "Restore project." However, that button red...
- Error trying to deploy functions from CL...
✗ Error • on-auth-create (6a00b2ab000c9ce2949b) • Server Error ✗ Error: No functions were pushed. Prject ID: 69ffe0270033a4ac420a