Get started with Open Source Code Quality Management Platform - Sonar in few minutes
Sonar is an open source platform for code quality management. It covers different aspects of code quality management like code duplication, complexity, coverage by unit tests, architecture & design, rule based defect identification etc. This post will help you to get started with Sonar in few minutes.
Tools and Technologies used in this article :
1. Download and Install Sonar
Download Sonar 3.5.1 and extract the same in your local directory.
2. Start Sonar Server
Open the terminal and execute the command '<sonar-installation-directory>bin/macosx-universal-64/sonar.sh console'.Terminal
Once started, Sonar application will be available on http://localhost:9000. Sonar by default runs on Jetty Webserver and uses embedded database H2.
Edit '<sonar-installation-directory>/conf/sonar.properties' to configure host/port, context path, database based on your requirement.sonar.properties
4. Browse Sonar Application
Browse to http://localhost:9000 for Sonar exploring administrative features. Use admin/admin as Login/Password to login to the application as administrator.