Deploy Changes with Realm CLI¶
Run the Import Command¶
realm-cli import to deploy
realm-cli import --strategy=merge
--strategy flag indicates how you want Realm to handle
configuration files that are missing or duplicated compared to the
currently deployed version of your application. For more
information, see import strategies.
realm-cli import --strategy=merge --include-hosting
realm-cli import --strategy=merge --include-dependencies
Review and Confirm Import Diff¶
Before committing the import,
realm-cli will show you a diff of
the changes that will be made to your application. Review the diff to
ensure that all changes are correct then confirm the import.
After successfully importing your application, Realm will automatically deploy a new version of your app and update your local application directory to match the new deployment.