Back

Creating Development Environment from Production

  • 0
  • General
D_Aman
15 Apr, 2024, 12:25

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?

TL;DR
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.
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