Skip to content

Installation

Michael Landreh edited this page Feb 24, 2021 · 2 revisions

To install and start your journey with SonarQuest we offer two ways - choose the one that fits your needs best.

Docker

Our aim is to make the start with SonarQuest as easy as possible for you. Therefore we added Docker- and Dockercompose files so that you can start up you instance with only one command:

docker-compose up --build

Make sure you are in the root folder when you enter this command.

The script loads two Docker files (one for the Angular app, one for the Spring Boot app) an builds both containers. After building it starts them so that you application is available at http://localhost:4200 by default, when the script finished. Then you are ready to start and play around.

Manual deployment

When you want to adjust you instance or simply have no opportunity to install Docker on your machine, it's also possible to start SonarQuest manually.

Prerequisites

You need the following tools before you continue:

  • Maven
  • node.js
  • npm
  • angular-cli

Spring Boot

Firstly, you have to load all dependencies and build your project with maven:

mvn clean package

Secondly, start the app via SonarQuestApplication.java. When you did'nt change the configuration, the app is available at hhtp://localhost:8080 after start up.

Angular

Before you can start the web-app, you need to load the project's dependencies:

npm i

When the installation of dependencies was successful you can start a local web server:

npm start

In the terminal output the address to the web app is exposed - most commonly http://localhost:4200.

Clone this wiki locally