Skip to content

Getting Started

Local Setup

Prerequisites

Before you can set up and run the project on your local machine, make sure you have the following software installed:

The latest versions of these software are preferred.

Artifactory setup

  1. Open https://repo.ihsmarkit.com/ui/repos/tree/General/npm-EDM
  2. Follow the commands under “Set Me Up” in the top right corner.

CORS policy

CORS-related extensions help you bypass CORS restrictions during development and testing. Install CORS from here

Modify these settings and save:

  1. Access-Control-Allow-Headers: Content-Type,Authorization,clientid
  2. Access-Control-Allow-Credentials: true

Toggle the CORS extension to ON by going to the extensions tab in your web browser.

Installation

To get started, follow these steps:

  1. Clone the repository on your local machine. You can use Visual Studio Code’s integrated Git features or run the following command in the terminal:

    1
    git clone https://FinAppsEngineering@dev.azure.com/FinAppsEngineering/Platform%20Services%20Teams/_git/UnionUI
    
  2. Open the project in Visual Studio Code. Navigate to the project directory and open it in Visual Studio Code.

  3. Install the project dependencies. In the terminal within Visual Studio Code, run the following command to install all the required dependencies:

    1
    npm install
    

Build and Test

  1. After the packages are installed, run the following command to start the project:

    1
    npm run start
    
  2. The development server will open the project in your default web browser automatically. If it doesn’t, you can manually open the project by navigating to: http://localhost:5000