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
- Function executions fail with cURL error...
Appwrite version: 1.8.0 Executor version: 0.11.4 Function runtime: Python 3.12 SELF-HOSTED Function executions that occur at the same moment as the executor's ...
- Broken Appwrite can’t make functions nor...
Hii guys, I was having this issue with my locally hosted Appwrite, I can’t create functions ( both template and manual), I can’t make a custom domain ( like in ...
- Tips for Debugging Appwrite Functions Lo...
Hi everyone! 👋 I have an Appwrite Function running locally with Docker, but I’m struggling to debug it because execution doesn’t reach the breakpoints I set. ...