Get Started

  • Frontend Installation
  • Backend Installation
  • Calculation Engine Installation

Frontend Installation

The frontend serves as the entrance gate for users to access DCP. Depending on the required modules, some steps in the installation guide below may be skipped or repeated multiple times.

Prerequisite: Install Dependencies

Ensure your server meets the software dependencies required by DCP.

Ensure that Node.js version 16.x is installed. Newer version are currently not supported.

Ensure that Git is installed.

Step 1: Clone Repository

Clone the repository of the DCP Framework or the corresponding module from our Public Repositories.

git clone https://gitlab.com/roche/dcp/platform/frontend/apps/{path_to_component}

Step 2: Execute Installation

After switching into the cloned folder, initiate the installation with npm by using the following command:

npm install --force

Step 3: Create settings file

Define the settings of your instance by pasting and adjusting the following content into the settings.json file in the root folder.

{
	"apiUrl": "test.example.com",
	"baseAppUrl":"test-example.com",
	"apiEnv": "prod",
	"production": true,
	"privacyPolicyUrl":"test",
	"backendPortCheckUrl":"8181",
	"apiServiceUrl":"gxp-api-node.example.com"
}

Step 4: Update deploy URL

Update the deploy URL in the angular.json file.

Step 5: Trigger app build

Start the build of your instance by executing the following command in the root directory:

npm run build

Done: Successfully deployed

After completion of the app build, your app is available under your defined URL. To learn more about the configuration options during installation, please refer to:

Documentation for Developers