|
So I am in the middle of building a small App with appwrite as the main backend. While I'm getting near the point of testing the app in a staging environment I find myself more often thinking about how am I supposed to bring changes of collections or the general setup from one environment to another? I have tried build some scripts with the node server SDK but the results aren't that good. So how am I supposed to handle this? The docs don't really have anything about this topic (or I'm to stupid to find it?) |
Replies: 1 comment 3 replies
|
👋 You can use the CLI to accomplish this. You can setup an Appwrite project and use the CLI to fetch existing collections into |
👋 You can use the CLI to accomplish this. You can setup an Appwrite project and use the CLI to fetch existing collections into
appwrite.jsonwhich will save collection schemas. You can then point the CLI to a different project/Appwrite instance, which will create the same set of collections on the new instance.https://appwrite.io/docs/command-line#deployCollections