X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=docs%2Fdeveloper-guide.rst;h=afe1a24e1215d2f375f679ac5c3e10ae07ce5be4;hb=85132f5ec832e4d28a334a21a036e4b3a9ef7eca;hp=51752b8178bf0f1e43e376273a72c79912ca0bb3;hpb=9872b8b01da34a6677844ebd56352c9d8c3ec09b;p=portal%2Fnonrtric-controlpanel.git diff --git a/docs/developer-guide.rst b/docs/developer-guide.rst index 51752b8..afe1a24 100644 --- a/docs/developer-guide.rst +++ b/docs/developer-guide.rst @@ -21,24 +21,23 @@ To run the Control Panel locally for development with simulated services, follow .. _gerrit: https://gerrit.o-ran-sc.org/r/admin/repos/portal/nonrtric-controlpanel -- Start the backend: - - cd webapp-backend - - mvn clean install - - mvn -Dorg.oransc.portal.nonrtric.controlpanel=mock -Dtest=MockControlPanelBackEnd -DfailIfNoTests=false test - - -- Now you can open URL: `localhost:8080`_ in a browser to access the backend directly. - -.. _localhost:8080: http://localhost:8080 - Start the frontend: cd webapp-frontend - - ./ng serve --proxy-config proxy.conf.json + + To start the frontend with Mock data: + + npm run start:mock + + To start the UI: + + You need to start the ControlPanel API Gateway, Policy Management Service & EI Service for the UI to list policy & EI information + + ./ng serve --proxy-config proxy.conf.json + + OR + + npm start - Now you can open URL: `localhost:4200`_ in a browser to access the Control Panel.