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¶
- Open https://repo.ihsmarkit.com/ui/repos/tree/General/npm-EDM
- 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:
- Access-Control-Allow-Headers:
Content-Type,Authorization,clientid
- 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:
-
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
-
Open the project in Visual Studio Code. Navigate to the project directory and open it in Visual Studio Code.
-
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¶
-
After the packages are installed, run the following command to start the project:
1
npm run start
-
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