Skip to content

User Interface for Parameter Estimation from Process Models

License

Notifications You must be signed in to change notification settings

equinor/pepm-ui

 
 

Repository files navigation

PEPM-UI

SCM Compliance

User Interface for Parameter Estimation from Process Models.

⚡ Getting started

Clone the repository. Make sure you have Node and yarn installed. In the root folder of the application, run available scripts:

Install dependencies

Install third-party packages for local development.

yarn install

Run locally

Note: To run successfully, local overrides of .env must be defined, for instance in .env.local, or see what other .env files can be used.

This will by default run the application in your standard web browser at localhost:3000.

yarn start

Local development with docker

Note: This step requires a .env.development.local file, with local overrides of .env for your local environment.

Build and run docker image for local development.

docker compose -f compose-dev.yaml up --build

Husky pre-commit

We use husky to automatically run tests, linting and formatting on commits, but you can also use the command below to run pre-commit manually.

yarn pre-commit

Authentication

Authentication is implemented with Microsoft Oauth2 for React