1 ### Format code with ktlint checkstyle tool use the following command
2 `mvn process-sources -P format`
5 https://github.com/pinterest/ktlint
8 ![Basic_Architecture](./docs/media/CDS.png)
11 Before you can build this project, you must install and configure the following dependencies on your machine:
14 2- Node and npm installed
15 3- Angular CLI & Angular v8
19 ## Running in Development Mode
21 Running `mvn clean install` command to install all libraries and dependencies for the maven and npm.
22 Running `mvn clean install -Pdocker` command to install all libraries and create below docker images
23 * ccsdk-blueprintsprocessor
24 * ccsdk-commandexecutor
30 **Note:** run `mvn clean install -Pdocker -Ddocker.skip.push=true` to skip pushing built docker image
33 * Create `sdnctl` table in MySQL
34 * (Optional) You could run the project in a specific profile(dev, local) by adding `-Dspring.profiles.active=profile-name`
36 2) Loop-back server: that allow your request to reach the backend from cds-ui
37 * move to `./cds-ui/server/` folder and run the command `npm start`
41 * Move to `./cds-ui/designer-client/` folder and run the command `npm start`.
42 * This command will make sure all the files follow the linting rules and then connect to the loopback server.
46 **Front-end** you could use `vscode` or `webstorm`.
48 **Back-end** `IntelliJ` with kotlin plugin or any other editor
52 For more information check: https://docs.onap.org/projects/onap-ccsdk-cds/en/latest/index.html