|
|
In this page, the steps that need to be followed for installing and setting up the different components of Technical Debt Toolbox back-end on your local machine are provided.
|
|
|
|
|
|
As presented in the Description, Technical Debt Toolbox consists of 4 docker containers. A docker compose file that will install all of them will be
|
|
|
presented soon. Also, an updated version of this functionality will be uploaded in the near future.
|
|
|
In this section, there is a full description of the steps that need to be followed in order to install and set up the different components of the Technical Debt Toolbox back-end on your local machine. As presented in the Description, Technical Debt Toolbox consists of 3 docker containers. Each container contains a number of services, so a docker-compose.yml file is provided to install everything with just one command.
|
|
|
|
|
|
### How to install:
|
|
|
|
... | ... | @@ -17,13 +14,12 @@ cd sdk4ed_technical_debt_analysis |
|
|
Step 2) Download source code from git repository
|
|
|
|
|
|
```
|
|
|
git init
|
|
|
git clone https://gitlab.seis.iti.gr/sdk4ed/td-analysis
|
|
|
```
|
|
|
|
|
|
Step 3) Open Docker Folder
|
|
|
|
|
|
Step 4) Add credentials of SonarQube and Database on the configurations.txt file.
|
|
|
Step 4) Add credentials of SonarQube and Database on the configurations.txt file
|
|
|
|
|
|
```
|
|
|
Example:
|
... | ... | @@ -46,29 +42,14 @@ passwordSQ:test |
|
|
|
|
|
```
|
|
|
|
|
|
Step 5) Add SHAa of commits that are versions on the SHAsOfVersions.txt file.
|
|
|
Step 5) Build the Docker image
|
|
|
|
|
|
```
|
|
|
Example:
|
|
|
2bc8eb71da51d5a37100ef097c89c7fddc21ad7a
|
|
|
48915ef5c49519fc47576476c085cfc2f5312463
|
|
|
f4501b79f84400e26f6c47a0d8212ecf48128c4e
|
|
|
c38bd3c0c6ae43100a357d781705a39c85bc96ee
|
|
|
5fbea225d352a12f14feafd70688b58c81069bc0
|
|
|
298380b1f8f72bf53303cb11e27a36de6d26e323
|
|
|
1499e26b43fdfd2915a4c6295a7b392f19369baa
|
|
|
6dea3ce087203282d42ef81154d23ca11dc38ec7
|
|
|
214fc8e8732f2e1fd9642522c9e4e809b684ec20
|
|
|
```
|
|
|
|
|
|
Step 6) Build the Docker image
|
|
|
|
|
|
docker build --no-cache -t name/sdk4ed-td-api .
|
|
|
```
|
|
|
docker build -t td-analysis
|
|
|
```
|
|
|
|
|
|
Step 7) Run the Docker image
|
|
|
Step 6) Run the Docker image
|
|
|
|
|
|
```
|
|
|
docker run -it td-analysis
|
|
|
``` |
|
|
\ No newline at end of file |
|
|
docker run -d --name sdk4ed_dashboard_api --network="host" name/sdk4ed-td-api
|
|
|
``` |
|
|
\ No newline at end of file |