Matthias MerkOriginal post
Rank 1: Thread
I use a local Appwrite instance for development. My IP changes depending on whether I'm working from home or in the office.
I therefore change the IP of the Appwrite endpoint in my .env.local accordingly.
I have also created the endpoint as a global variable in Appwrite. I also change this depending on where I am working from. The problem now is, that I have to redeploy all cloud functions after the change of the global variable so that they work.
Am I somehow making a mistake, or is this simply a step I have to take everytime? How could I simplify the whole thing?
Summary
Developers are asking for advice on how to streamline the process of redeploying cloud functions after changing the global variable for the endpoint in a local Appwrite instance. Is there a way to avoid the manual redeployment step?