“Code Quality Journey: SonarQube Setup from Scratch and Code Analysis | Comprehensive Tutorial“ ## Step to install SonarQube ```bash docker pull sonarqube ``` ```bash docker run -d —name sonarqube-db -e POSTGRES_USER=sonar -e POSTGRES_PASSWORD=sonar -e POSTGRES_DB=sonarqube postgres:alpine ``` ### Run SonarQube ```bash docker run -d —name sonarqube -p 9000:9000 —link sonarqube-db:db -e SONAR_JDBC_URL=jdbc:postgresql://db:5432/sonarqube -e SONAR_JDBC_USERNAME=sonar -e SONAR_JDBC_PASSWORD=sonar sonarqube ``` This command sets up the SonarQube container with a link to the PostgreSQL database. # Set Sonar Scanner Home ```bash nano ~/.bashrc export SONAR_SCANNER_HOME=/path/to/sonar-scanner # Add Sonar Scanner to PATH export PATH=$SONAR_SCANNER_HOME/bin:$PATH ``` Welcome to our com ... #ProgrammingKnowledge #How_do_you_use_SonarQube_for_code_analysis? #How_to_setup_Sonar_in_local? #How_do_I_Analyse_a_project_in_SonarQube? #How_do_I_integrate_a_project_with_SonarQube? #How_do_I_set_a_new_code_in_SonarQube? #How_do_you_integrate_a_project? #How_do_I_manually_create_a_project_in_SonarQube? #How_to_setup_SonarQube_for_Python? #How_do_I_improve_code_quality_in_SonarQube? 20240129 6vdRvz_LnbQ
Hide player controls
Hide resume playing