Hi I was wondering if it would be possible to duplicate an environment so that I don't have to manually replicate the schema I'm using in my dev environment. Is there a way to do this using the API or an SDK?
TL;DR
Message:
Developer wants to know if it's possible to duplicate an environment to avoid manually replicating the schema in the dev environment. They mention using the CLI to pull down a JSON representation of the database structure and then deploying it.
Kenny
13 Feb, 2024, 19:55
If you have the appwrite cli you can do appwrite init collection to pull down a json representation of your database structure, then do appwrite deploy collection to deploy it.