Skip to end of metadata
Go to start of metadata

Get Started in Two Minutes

1. Download and unzip the SonarQube distribution (let's say in "C:\sonarqube" or "/etc/sonarqube")

2. Start the SonarQube server:

# On Windows, execute:

# On other operating system, execute:
/etc/sonarqube/bin/[OS]/ console

3. Download and unzip the SonarQube Scanner (let's say in "C:\sonar-runner" or "/etc/sonar-runner")

4. Download and unzip some project samples (let's say in "C:\sonar-examples" or "/etc/sonar-examples")

5. Analyze a project:

# On Windows:
cd C:\sonar-examples\projects\languages\java\sonar-runner\java-sonar-runner-simple

cd C:\sonar-examples\projects\languages\javascript\javascript-sonar-runner
# On other operating system:
cd /etc/sonar-examples/projects/languages/java/sonar-runner/java-sonar-runner-simple
cd /etc/sonar-examples/projects/languages/javascript/javascript-sonar-runner

6. Browse the results at http://localhost:9000 (default System administrator credentials are admin/admin)

  • No labels