1 ##### Format code with ktlint checkstyle tool use the following command
3 `mvn process-sources -P format`
7 https://github.com/pinterest/ktlint
11 ![Basic_Architecture](./docs/media/CDS.png)
14 Before you can build this project, you must install and configure the following dependencies on your machine:
18 2- Node and npm installed
20 3- Angular CLI & Angular v8
26 ## Running in Development Mode
28 * In the main project folder run `mvn clean install` command to install all libraries and dependencies for maven and npm.
32 * create `sdnctl` table in MySQL
33 * (Optional) You could run the project in a specific profile(dev, local) by adding `-Dspring.profiles.active=profile-name`
35 2- Loop-back server: that allow your request to reach the backend from cds-ui
36 * move to `./cds-ui/server/` folder and run the command `npm start`
40 * 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.
44 **Front-end** you could use `vscode` or `webstorm`.
46 **Back-end** `Intellij` with kotlin plugin or any other editor
50 For more information check the `docs` folder.