> For the complete documentation index, see [llms.txt](https://indigo-dc.gitbook.io/cdmi-qos/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://indigo-dc.gitbook.io/cdmi-qos/deployment-and-administration-guide/building-from-sources.md).

# Building from Sources

This section describes the preferred way of installing the CDMI-QoS service.

## Requirements

* git
* Java Development Kit > 8
* Maven >= 3

## Get the sources

You can download the sources from the GitHub repository [INDIGO-DC CDMI-QoS](https://github.com/indigo-dc/CDMI).

`git clone https://github.com/indigo-dc/CDMI.git`

## Build

The project uses the Maven build automation tool that will build one fat executable jar Spring Boot application.

`mvn clean package`

If you encounter problems you might want to check and modify the maven `pom.xml` file.

## (optional) Configure the service

If you need to conifgure the service before building, you can find the configuration in `src/main/resources/application.properties`. However, the service can be fully configured also at runtime, see previous chapter - Installing CDMI-QoS.

## Run

To run the CDMI-QoS service you can directly execute the built jar.

`./target/cdmi-server-0.0.1-SNAPSHOT.jar`
