- Get link
- X
- Other Apps
- Get link
- X
- Other Apps
You can evaluate SonarQube using a traditional installation with the zip file or you can spin up a Docker container using one of the Docker images.
Steps to install Docker : Set Up Docker
Steps to setup Local Instance of SonarQube using Docker Image:
- Start your server by running below command.
docker run -d --name sonarqube -e SONAR_ES_BOOTSTRAP_CHECKS_DISABLE=true -p 9000:9000 sonarqube:latest
- Once your instance is up go to http://localhost:9000/ using below credentials
Login: admin
Password: admin
- Under How do you want to create your Project ? Click on Manually.
- Under Create a project, enter Project display name and Project key and then click on Set up.
- Your generated token will be displayed on the screen, click on Continue.
- Select your project's main language under Run Analysis on your Project.
- After selecting the language, the command will be displayed on the screen. Copy the command and run under your project.
- After successfully analyzing your code, go to http://localhost:9000/ and you'll see your first analysis on SonarQube
- Get link
- X
- Other Apps
Comments
Thanks for sharing !!!
ReplyDeleteHappy to Help
Delete