This exercise demonstrates how a project could be imported and deployed into a workspace. If you were successful with the previous step, optionally continue to the appendix on Additional HDI Container Details or proceed with Exercise 1 - Launch the SAP HANA Database Explorer.
-
If an existing workspace is open, close it by selecting File, Close Folder.
-
Select File, Open Folder and select the projects folder.
An empty workspace will open. If a previous project exists with the name FlightReservation, delete it.
-
Download the file FlightReservation.tar.
-
Select File, Import Project and select the previously downloaded file FlightReservation.tar.
Select Open in New Workspace.
-
Open a terminal by selecting Terminal, New Terminal. Change directories to the location where the Node.js modules are specified, view the required Node.js modules, and then install them.
cd db cat package.json npm install
-
In the SAP HANA PROJECTS editor, expand Database Connections and choose to Bind the hdi_db. Select Bind to the default instance. This will provide details of which SAP HANA Cloud database to create an HDI container in. These values are saved in the .env file within the project.
-
Open the SAP HANA database explorer by selecting Open HDI container.
-
View the deployed objects (1 Column View, 2 tables, and 1 stored procedure)
You now have imported a project, bound it to an HDI container, and deployed the project.
Back to - DA261 - SAP HANA Cloud Database Administration and Development