Back

Appwrite CLI switch between endpoints

  • 0
  • Self Hosted
  • Tools
rovolt.
9 Apr, 2024, 11:52

Hello, I have a self hosted instance of Appwrite on my home server and another one on an internet server. Most of the time my appwrite cli is set up with my home server because thats my testing instance. But regularly I have to connect the cli to the production instance to publish changes or edit something. My current flow is to logout, reset, login, set project every time I switch between the systems. Sometimes several times a day. Is there a better/easier/faster way for switching?

TL;DR
Developers are looking for a better way to switch between different Appwrite instances using the CLI without having to log out and reset multiple times a day. It's suggested to use environment variables to switch between the endpoints easily without the need for constant manual resetting.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more