diff options
author | Dan Timoney <dtimoney@att.com> | 2020-05-06 12:47:27 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-05-06 12:47:27 +0000 |
commit | 04c3d46682db8642ec41687309f31b1040f93e54 (patch) | |
tree | 887dddfc5deda09c27650403829dccd021d3391b | |
parent | 7dee8dfd6cd0aa55491e4b5f8487d1731bed9a29 (diff) | |
parent | 5b9f323027c74d11aa0af8061c77118c8ff81a74 (diff) |
Merge "adding the basic running steps for CDS in README file"
-rw-r--r-- | README.md | 43 | ||||
-rw-r--r-- | docs/media/CDS.png | bin | 0 -> 23391 bytes |
2 files changed, 43 insertions, 0 deletions
@@ -5,3 +5,46 @@ ## 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 diff --git a/docs/media/CDS.png b/docs/media/CDS.png Binary files differnew file mode 100644 index 000000000..65f4115f8 --- /dev/null +++ b/docs/media/CDS.png |