From 7d397bd49ffc2c61d70aa65353f2188bc1264abb Mon Sep 17 00:00:00 2001 From: "Singal, Kapil (ks220y)" Date: Mon, 21 Sep 2020 09:53:32 -0400 Subject: Fixing docker image tag Moving related properties to parent most pom and using same across Removing unnecessary version tag from poms Issue-ID: CCSDK-2794 Signed-off-by: Singal, Kapil (ks220y) Change-Id: I37d16d3f7a467bb579f70235f69a8bff0fe4ba8e --- README.md | 44 +++++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 21 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index ba9c29357..3c7dee7d1 100644 --- a/README.md +++ b/README.md @@ -1,50 +1,52 @@ -##### Format code with ktlint checkstyle tool use the following command - +### Format code with ktlint checkstyle tool use the following command `mvn process-sources -P format` - -## Reference +#### Reference https://github.com/pinterest/ktlint -## Getting started - +## Basic Architecture ![Basic_Architecture](./docs/media/CDS.png) ## Basic Requirements Before you can build this project, you must install and configure the following dependencies on your machine: - 1- Java 8 SDK - + 1- Java 11 SDK 2- Node and npm installed - 3- Angular CLI & Angular v8 - 4- MySQL Database - - 5- maven + 5- Maven 3.6.X ## Running in Development Mode -* In the main project folder run `mvn clean install` command to install all libraries and dependencies for maven and npm. +Running `mvn clean install` command to install all libraries and dependencies for the maven and npm. +Running `mvn clean install -Pdocker` command to install all libraries and create below docker images + * ccsdk-blueprintsprocessor + * ccsdk-commandexecutor + * ccsdk-py-executor + * ccsdk-sdclistener + * ccsdk-cds-ui-server + * ccsdk-cds-ui - 1- Back-end MS - - * create `sdnctl` table in MySQL +**Note:** run `mvn clean install -Pdocker -Ddocker.skip.push=true` to skip pushing built docker image + +1) Back-end MS + * Create `sdnctl` table in MySQL * (Optional) You could run the project in a specific profile(dev, local) by adding `-Dspring.profiles.active=profile-name` -2- Loop-back server: that allow your request to reach the backend from cds-ui +2) Loop-back server: that allow your request to reach the backend from cds-ui * move to `./cds-ui/server/` folder and run the command `npm start` - 3- cds-ui +3) cds-ui - * move to `./cds-ui/designer-client/` folder and run the command `npm start`, This command will make sure all the files follow the linting rules and then connect to the loopback server. + * Move to `./cds-ui/designer-client/` folder and run the command `npm start`. + * This command will make sure all the files follow the linting rules and then connect to the loopback server. ## Using an IDE **Front-end** you could use `vscode` or `webstorm`. -**Back-end** `Intellij` with kotlin plugin or any other editor +**Back-end** `IntelliJ` with kotlin plugin or any other editor --- -For more information check the `docs` folder. \ No newline at end of file +For more information check: https://docs.onap.org/projects/onap-ccsdk-cds/en/latest/index.html \ No newline at end of file -- cgit 1.2.3-korg