Cube Logo0.33.4

Cube IDE

With the Cube IDE, you can write and test and your Cube data models from your browser.

Cube IDE is available in Cube Cloud on all tiers.

Cube Cloud can create branch-based development API instances to quickly test changes in the data model in your frontend applications before pushing them into production.

In development mode, you can safely make changes to your project without affecting production deployment. Development mode uses a separate Git branch and allows testing your changes in Playground or via a separate API endpoint specific to this branch. This development API hot-reloads your data model changes, allowing you to quickly test API changes from your applications.

To enter development mode, navigate to the Data Model screen and click Enter Development Mode.

When development mode is active, a grey bar will be visible at the top of the screen. It provides several useful controls and indicators:

  • The name of the current development Git branch
  • The status of the development API. After any changes to the project, the API will hot-reload, and the API status will indicate when it's ready.
  • 'Copy API URL' will copy the API URL to the clipboard for the current development branch.

You can exit development mode by clicking Exit in the grey banner. If you've been editing a data model and navigate away, Cube Cloud will warn you if there are any unsaved changes:

Unsaved changes warning modal|690x431

To add more Git branches to your Cube Cloud deployment and/or switch between them, click the branch name in the status bar:

Branch switcher|685x500

Speaking of Git branches, you can now easily add and remove branches with the same switcher; click Add Branch and enter a name for the new branch in the popup:

Create a new branch|690x431

These branches are shared, meaning everyone who has access to the deployment can see and edit them. This makes them extremely useful for out-of-band experiments where you can quickly test things in Cube Cloud without having to go through a CI/CD process.

Unused branches can also be deleted. Ensure you are already on the branch you want to delete, then open the switcher and click Remove Branch:

Delete a branch|685x500

Cube Cloud supports generating models from a data source after the initial deployment creation. The Generate Data Model on the Data Model page will let you re-generate models from your source database, or alternatively add rollups to existing data models:

Generate rollups or data model modal|690x428

Did you find this page useful?