Reverse clone from localhost instance

Reverse clone from localhost instance

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:

  1. Create a new empty cloud data product with a name, title and description
  2. Add the new cloud data product as a remote in the localhost data product (select any branch in Version Control)
  3. If necessary, go to the main menu of the localhost data product, reload the page to clear out all references if necessary
  4. Select the branch to clone from on localhost in the Version Control menu
  5. Perform fetch on the newly configured remote to create the necessary relationship references in the localhost data product
  6. 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.

    • Related Articles

    • Custom class metadata configuration

      Colours, link directions, class labels, the property display order can be altered by setting custom class metadata. DFRNT provides a special section called "metadata" to define custom behaviours for types and traits. Although these behaviours cannot ...
    • How can I learn more about DFRNT

      Learning about DFRNT is closely connected to leveraging the open source TerminusDB data product engine, for which DFRNT is a UI and hosting provider. DFRNT is a user interface and hosting provider for the open source TerminusDB data product ...
    • Use TerminusCMS data products in DFRNT

      Additionally to DFRNT hosted data products, you can connect and collaborate directly on data products hosted at TerminusCMS from DFRNT, using TerminusDB API keys. DFRNT.com helps you manage data products that are either hosted in DFRNT through the ...
    • Troubleshooting content graph merge and rebase operations

      Content repositories and content graphs in the Twinfox Platform offer merge and rebase functionality similar to such abilities with software code repositories, but adapted for content graph processing. Rebase changes from another content graph The ...
    • Overview of DFRNT data modelling

      The data model in DFRNT data products follows the TerminusDB graph metamodel 1:1, and enables easy data modelling and advanced visualisation The data modelling capabilities of DFRNT.com involves five categories of data structures: Records, ...