|
|
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.
|
|
|
|
|
|
### How to install:
|
|
|
|
|
|
## TD New Analysis
|
|
|
|
|
|
Step 1) Create a new directory for example sdk4ed_technical_debt_analysis to work
|
|
|
|
|
|
```
|
|
|
mkdir sdk4ed_technical_debt_analysis
|
|
|
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) Copy Dockerfile to the working directory
|
|
|
|
|
|
```
|
|
|
cp sdk4ed_technical_debt_analysis/Dockerfile ./
|
|
|
```
|
|
|
Step 4) Extract jar file from source code
|
|
|
|
|
|
```
|
|
|
$ mvn package
|
|
|
```
|
|
|
Step 5) Move jar files from externalTools/ to the same directory as the extracted jar file
|
|
|
|
|
|
Step 6) Build the Docker image
|
|
|
|
|
|
```
|
|
|
docker build -t td-analysis
|
|
|
```
|
|
|
|
|
|
Step 7) Run the Docker image
|
|
|
|
|
|
```
|
|
|
docker run -it td-analysis
|
|
|
``` |
|
|
\ No newline at end of file |