This page will demonstrate how to get the REACT GUI running on the local developer machine (Windows/Linux/MacOS).
Prerequisites to running the UI
...
Checkout UI from the repo.
Code Block language bash git clone "https://gerrit.nordix.org/onap/policy/gui"
- Change into the "gui-clamp" directory.
Build the UI
Code Block language bash mvn clean install
- Go to the following directory 'ui-react'
Start the front end UI
IfCode Block language bash npm start --scripts-prepend-node-path
* If you get an error such as 'npm ERR! code ENOENT' modify the package.json "start": "HTTPS=true react-scripts start" to "start": "set HTTPS=true && react-scripts start",- Once the UI starts at localhost:3000 it will ask for credentials:
Login: admin
Password: password
* This is a windows issue so anything marked with ** is for Windows environment only.