Skip to content
This repository was archived by the owner on Nov 15, 2019. It is now read-only.

Platform Installation

scalanova edited this page Jun 14, 2018 · 12 revisions

Prerequired

The Measure Platform can be executed in both Linux or Windows systems. To be executed, the platform requires the installation of a MySQL database, Elasticsearch, Kibana and Java 1.8.

MySQL Installation

Elasticsearch Installation

Kibana Installation

Java 1.8 Installation

Download the Platform

Configure the platform

Platform is parametrize using a property file. This property file has to be put in the same folder of the measure-platform-0.0.1-SNAPSHOT.jar binary application.

Edit the application.properties file :

General Properties

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/measureplatform
spring.datasource.username Login MySQL. root
spring.datasource.password Password MySQL. root
spring.datasource.driver-class-name Driver JDBC for MySQL com.mysql.jdbc.Driver
measure.repository.path Past of an empty directory which will be used to store uploaded measures. c:/MeasurePlatform/storage
measure.kibana.adress Ip Adress of the Kibana istallation. localhost:5601
server.port Port of the MeasurePlatform web application 80

Mail Server configuration

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 the Platform

  1. Start MySQL
  2. Start Elasticsearch : ./elasticsearch-5.4.0/bin/elasticsearch
  3. Start Kibana:./kibana-5.4.0/bin/kibana
  4. Start the Measure platform : java -jar measure-platform-{version}.war

To access to the platform : http://localhost:80/#/

Clone this wiki locally