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
- Creating a function on appwrite Cloud.
I am trying to create a function on Appwrite cloud. I go to the console. I hit : Create function I choose DART-3.5 I put a name for my function : NameFunction...
- Function connected custom domain error: ...
My domain is served through Cloudflare. Domain is now connected with the appwrite function. But when accessing the domain, I get the below error. Any suggestion...
- Error | general_unknown
I have built a website using Appwrite Cloud as backend, and also using sites for deployment. My website is live but sometimes it shows Appwrite's Error general_...