D_AmanOriginal post
Web Developer
Hello, I already have a project in production mode and for testing and further development i need to create an exact copy of it and couldnt find any reliable resources. I read about CLI and there when i tried doing
appwrite init collection
i got an error -✗ Error Invalid queries param: Invalid query: Invalid query
After that to decided to create custom scripts for doing so but its quite lengthy task and i am doing it slowly, currently i am facing issues like cloning attributes with relationships as they need to be linked with an already existing documents or collections,etc.
I wanted to ask is there any better way to do this?
Summary
Developer needs to create a development environment from a production project but encountered errors with CLI commands. They are working on custom scripts for cloning attributes with relationships, but it's a lengthy process. They are seeking advice for a better way to achieve this.
Solution: Consider using a database dump or migration tool to streamline the process of cloning the production project for development purposes.