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
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...