1.4.1. Setting up the Application Project

  1. Run CUBA Studio, go to Open project > Samples window and download the Library project.

  2. Open the Library project in Studio.

  3. Open Project properties -> Edit and include the charts project into the list of Base projects; save changes. Confirm when Studio will suggest recreating Gradle scripts.

  4. Select Run -> Deploy. At this point, the application will be assembled and deployed to the Tomcat application server located at build/tomcat.

  5. Create the application database by selecting Run -> Create database.

  6. Select Build -> Create or update IDEA project files to create project files for IntelliJ IDEA.

Once the steps above are complete, the chart display functionality will be connected to the application and ready to be used.