-
Notifications
You must be signed in to change notification settings - Fork 29
Installation
To install and start your journey with SonarQuest we offer two ways - choose the one that fits your needs best.
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.
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.
You need the following tools before you continue:
- Maven
- node.js
- npm
- angular-cli
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.
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.