Seer Data Cruncher – Windows Installation

Data Cruncher

Home Page – http://see-r.github.io/SeerDataCruncher/

Download zip file from https://github.com/see-r/SeerDataCruncher/zipball/master

The file contains source code and necessary files for build.

 

MySQL

Version 5.7.22 from https://downloads.mysql.com/archives/get/file/mysql-5.7.22-win32.zip

Extract to a desired location

Shell1 – Run Windows cmd shell as Adminstrator
cd C:\mysql-5.7.22-winx64

mkdir data

bin\mysqld –initialize –console
alter user ‘root’@’localhost’ identified by ‘root’; — Write this line to init.txt
bin\mysqld –init-file=C:\mysql-5.7.22-winx64\init.txt
delete init.txt

Shell2 – Run a new Windows cmd shell as Adminstrator
mysql -u root -p <new password set in init.txt>
create database datacruncher;

 

Maven

http://www-us.apache.org/dist/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.zip

Extract to a preferred directory and add to path environment variable

For example, add C:\apache-maven-3.5.4\bin to Path

 

DataCruncher Build

Edit C:\datacruncher\src\main\resources\META-INF\persistence.xml to change the password of MySQL to the one set earlier

cd C:\datacruncher

mvn install -DskipTests

War file should be created in C:\datacruncher\target\SeerDataCruncher-1.1.war

 

Apache Tomcat

Download from http://www-us.apache.org/dist/tomcat/tomcat-8/v8.5.34/bin/apache-tomcat-8.5.34-windows-x64.zip

Extract to a desired location

Edit C:\apache-tomcat-8.5.34\conf\tomcat-users.xml to include the below content

<role rolename=”manager-gui”/>

<role rolename=”manager-script”/>
<user username=”tomcat” password=”s3cret” roles=”manager-script”/>

Shell1 – Run Windows cmd shell as Adminstrator

cd C:\apache-tomcat-8.5.34\bin

startup

Access http://localhost:8080/ in browser

 

Install WAR

Stop tomcat (CTRL + C on Shell)

Copy war file to C:\apache-tomcat-8.5.33\webapps

Start tomcat

Access DataCruncher from http://localhost:8080/SeerDataCruncher-1.1/

 

 

 

 

 

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.