summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-11-14 14:19:33 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-15 21:41:38 +0700
commit35b9329c77d2bb012a74c4f632dc6aa3ec602a4e (patch)
treef8ec4221156ad805216c7530bfb051c874d8a63f /development
parent990f003575024bb024588c76c28f5c50c5e1aabb (diff)
downloadslackbuilds-35b9329c77d2bb012a74c4f632dc6aa3ec602a4e.tar.gz
development/sonarqube: Fix README.
Diffstat (limited to 'development')
-rw-r--r--development/sonarqube/README21
1 files changed, 13 insertions, 8 deletions
diff --git a/development/sonarqube/README b/development/sonarqube/README
index dd795d10e1..47c10a8d4e 100644
--- a/development/sonarqube/README
+++ b/development/sonarqube/README
@@ -1,21 +1,26 @@
-SonarQube software (previously called Sonar) is an open source quality
-management platform, dedicated to continuously analyze and measure technical
-quality, from project portfolio to method.
+SonarQube software (previously called Sonar) is an open source quality
+management platform, dedicated to continuously analyze and measure
+technical quality, from project portfolio to method.
To create the MariaDB SonarQube database run:
+
CREATE DATABASE sonar CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE USER 'sonar' IDENTIFIED BY 'sonar';
GRANT ALL ON sonar.* TO 'sonar'@'%' IDENTIFIED BY 'sonar';
GRANT ALL ON sonar.* TO 'sonar'@'localhost' IDENTIFIED BY 'sonar';
FLUSH PRIVILEGES;
+
Then start the service
-/etc/rc.d/rc.sonarqube start
+ /etc/rc.d/rc.sonarqube start
+
Then point your browser to
-http://localhost:9000/sonarqube/
+ http://localhost:9000/sonarqube/
+
Then login as:
-user: admin
-password: admin
+ user: admin
+ password: admin
This requires a "sonar" user and group.
groupadd -g 287 sonar
- useradd -g 287 -u 287 -r -c 'SonarQube user' -s /bin/bash -d /usr/share/sonarqube sonar
+ useradd -g 287 -u 287 -r -c 'SonarQube user' \
+ -s /bin/bash -d /usr/share/sonarqube sonar