This repository has been archived by the owner on Nov 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Development Environment Installation
Amin Boudeffa edited this page Jan 31, 2018
·
10 revisions
The Quality Guard Analysis Tool can be executed in both Linux or Windows systems. To be executed, the tool requires the installation of a MySQL database, and Java 1.8.
- Download MySQL Community Server ver. 5.7 or above : https://dev.mysql.com/downloads/mysql/
- Install MySQL using these instructions : https://dev.mysql.com/doc/refman/5.7/en/installing.html
- Create a new database named "qualityguardanalysis".
- Download and install the jdk8 in your environment : http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
- Download the last released version of the QualityGuardAnalysisTool : https://github.com/ITEA3-Measure/QualityGuardAnalysis/releases/edit/untagged-b95473b46c56c40610ad
- Unzip the project in your tool directory.
Platform is parametrize using a property file. This property file has to be put in the same folder of the quality-guard-analysis-0.0.1-SNAPSHOT.jar binary application.
Edit the application.properties file :
Property | Description | Default Value |
---|---|---|
spring.datasource.url | JDBC URL of the database ex: "jdbc:mysql://"+ ip of computer in which is installed MySQL database name. | jdbc:mysql://localhost:3306/qualityguardanalysis |
spring.datasource.username | Loign MySQL. | root |
spring.datasource.password | Password MySQL. | root |
spring.datasource.driver-class-name | Driver JDBC for MySQL | com.mysql.jdbc.Driver |
server.port | Port of the QualityGuardAnalysisTool web application | 8585 |
In order to register new users, you have to configure a mail server.
Property | Description | Default Value |
---|---|---|
spring.mail.host | Url of the mail service | smtp.gmail.com |
spring.mail.port | Port of the mail service | 587 |
spring.mail.username | Login of the mail account | |
spring.mail.password | Password of the mail account | |
spring.mail.protocol | mail protocole | smtp |
spring.mail.tls | - | true |
spring.mail.properties.mail.smtp.auth | - | true |
spring.mail.properties.mail.smtp.starttls.enable | - | true |
spring.mail.properties.mail.smtp.ssl.trust= | - | smtp.gmail.com |
- Start MySQL
- Start Elasticsearch : ./elasticsearch-5.4.0/bin/elasticsearch
- Start Kibana:./kibana-5.4.0/bin/kibana
- Start the Measure platform:
- From Eclipse As Release: Select the "QualityGuardAnalysisApp.java" file and Right Click > Run as > Java Application
- From Eclipse As Debug: Select the "QualityGuardAnalysisApp.java" file and Right Click > Debug as > Java Application
To access to the platform: http://localhost:8585/#/