DFRNT model-based data products are supported both in cloud and on your local computer by running a local TerminusDB instance. The cloud instances can't connect to your localhost computer, and thus cloning local data products to cloud needs to be performed using this "reverse clone" procedure: by creating a new data product in cloud to push local branch history to.
Reverse cloning is performed on a branch by branch basis, and involves the following high level steps:
- Create a new empty cloud data product with a name, title and description
- Add the new cloud data product as a remote in the localhost data product (select any branch in Version Control)
- If necessary, go to the main menu of the localhost data product, reload the page to clear out all references if necessary
- Select the branch to clone from on localhost in the Version Control menu
- Perform fetch on the newly configured remote to create the necessary relationship references in the localhost data product
- Select the cloud data product branch to push to, and select Push to upload all local changes.
Perform steps 4-6 for any additional branches to be pushed to the cloud.
Now you can push any additional future changes in your local product, or pull any new changes made on the server, and enjoy the advantages of push and pull with Content Graph Version Control, also known as git-for-data.