From: Lott, Christopher (cl778h) Date: Wed, 15 May 2019 20:04:30 +0000 (-0400) Subject: Update getting-started instructions and paths X-Git-Tag: R2~105 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=878f09273c6bf61405c0185a200aa66aa007ed27;p=portal%2Fric-dashboard.git Update getting-started instructions and paths Change-Id: I97c5f5c771cf00764ac7c1ab0a129dd90f7be500 Signed-off-by: Lott, Christopher (cl778h) --- diff --git a/README.md b/README.md index 0333213d..3e26e99d 100644 --- a/README.md +++ b/README.md @@ -4,28 +4,27 @@ This webapp is built with Angular 7 and Spring-Boot 2. ## Getting started -To install prerequisites on Mac OSX, first install nvm then continue with node: +### Check prerequisites - curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash +1. Java development kit (JDK), version 1.8 or later +2. Maven dependency-management tool, version 3.4 or later + +### Build and launch the web app -Then: - - nvm install stable - nvm install node - -To run the web app: - - cd ric-dashboard/ang7-sb2 - mvn clean install - - cd ric-dashboard/ang7-sb2/backend/ + mvn -Ddocker.skip=true clean install + cd webapp-backend mvn spring-boot:run -To debug the frontend and backend for Angular developers: +Then open a browser on http://localhost:8080 + +In addition to the above, you can run the Angular server +for debugging the frontend and backend separately: - cd ric-dashboard/ang7-sb2/frontend/src/main/web/src/app + cd webapp-frontend ./ng serve --proxy-config proxy.conf.json +Then open a browser on http://localhost:4200 + ## License Copyright (C) 2019 AT&T Intellectual Property & Nokia. All rights reserved.