Best practices for separating development and production


Are there any best or recommended practices when it comes to creating development and production stages for Realm? I would like to continue to be able to turn sync on and off and work in development mode when my app is pushed out into production, but I currently only have one Atlas cluster and one Realm sync service. Do I just have to create a new Atlas cluster and a new Realm service for development and copy any schema changes from development over to the production cluster and production Realm when the time comes to push changes into production?

Thank you!

Yes - separate environments, Realm Apps and Atlas clusters would be what I would recommend. You can use the realm-cli to do this programmatically -

Export the configuration from dev and then import it to your new prod Realm app.


This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.