To make an Angular project available, you must compile the Angular project and compress it into a ZIP file.
To compile and deploy an Angular project using the API Server
-
Start a command line program.
-
Change to the Angular workspace directory.
-
Run the following command:
ng build <project name>
-
Change to the directory with the compilation (normally dist/<projectname>) and add all the files and subfolders to a new ZIP file with the name Html_<projectname>.zip.
-
Copy the ZIP file to the imxweb\custom subfolder of your workspace.
TIP: If the folder does not exist, create it.
-
Import the ZIP file into your One Identity Manager database using the Software Loader and assign it to the Development and Testing machine role. For more information on importing files using the Software Loader, see the One Identity Manager Operational Guide.
-
Copy the ZIP file to the bin\imxweb\custom subfolder of your IIS installation.
TIP: If the folder does not exist, create it.
-
Import the ZIP file into your One Identity Manager database using the Software Loader and assign it to the Business API Server machine role.
-
(Optional) To check whether your Angular package (and therefore your HTML application) is loaded correctly, check that the corresponding packages are labeled as Customized package in the Administration Portal. For more information about displaying packages, see the One Identity Manager Web Application Configuration Guide.
To compile and deploy an Angular project without using the API Server
-
Use the Software Loader program to export the API Server file structure from your One Identity Manager database to a local folder. Select the Server, Web, Business API Server, and SCIM Provider machine roles. For more information on exporting files with the Software Loader, see the One Identity Manager Operational Guide.
-
Start a command line program.
-
Change to the Angular workspace directory.
-
Run the following command:
ng build <project name>
-
Change to the directory with the compilation (normally dist/<projectname>) and add all the files and subfolders to a new ZIP file with the name Html_<projectname>.zip.
-
Copy the ZIP file to the imxweb\custom subfolder of your workspace.
TIP: If the folder does not exist, create it.
-
Import the ZIP file into your One Identity Manager database using the Software Loader and assign it to the Development and Testing machine role. For more information on importing files using the Software Loader, see the One Identity Manager Operational Guide.
-
Copy the ZIP file to the bin\imxweb\custom subfolder of the folder created in the first step.
TIP: If the folder does not exist, create it.
-
Import the ZIP file into your One Identity Manager database using the Software Loader and assign it to the Business API Server machine role.
-
(Optional) To check whether your Angular package (and therefore your HTML application) is loaded correctly, check that the corresponding packages are labeled as Customized package in the Administration Portal. For more information about displaying packages, see the One Identity Manager Web Application Configuration Guide.