X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=README.md;h=ba9c293570400c299871d6e504aaaa8b3b09d96b;hb=refs%2Fchanges%2F78%2F109278%2F3;hp=8513e0f98dfd28e639007fa86ecc92abb6f64427;hpb=a48981d05a85f45010ff4c8bf6e797037a9ea4fa;p=ccsdk%2Fcds.git diff --git a/README.md b/README.md index 8513e0f98..ba9c29357 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,50 @@ -## Format code with ktlint checkstyle tool use the following command +##### Format code with ktlint checkstyle tool use the following command -mvn process-source -P format +`mvn process-sources -P format` ## Reference https://github.com/pinterest/ktlint + +## Getting started + +![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 + + 2- Node and npm installed + + 3- Angular CLI & Angular v8 + + 4- MySQL Database + + 5- maven + +## Running in Development Mode + +* In the main project folder run `mvn clean install` command to install all libraries and dependencies for maven and npm. + + 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 + * move to `./cds-ui/server/` folder and run the command `npm start` + + 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. + +## Using an IDE + +**Front-end** you could use `vscode` or `webstorm`. + +**Back-end** `Intellij` with kotlin plugin or any other editor + + +--- +For more information check the `docs` folder. \ No newline at end of file