Collect, analyze and search event based data. Based on Apache Solr.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
logspace-agent-api-json
logspace-agent-api
logspace-agent-controller
logspace-agent-cxf
logspace-agent-journal
logspace-agent-os
logspace-agent-solr
logspace-dist
logspace-frontend-new
logspace-frontend
logspace-hq-core-api
logspace-hq-core-solr
logspace-hq-rest-api
logspace-hq-rest
logspace-hq-webapp
logspace-it
logspace-jvm-agent
logspace-monitor
.gitignore
Jenkinsfile
LICENSE
NOTICE
README.md
header.txt
pom.xml

README.md

Indoqa Logspace

Join the chat at https://gitter.im/Indoqa/logspace

The user and integrator documentation can be found at http://logspace.io

How to setup your development environment

Prepare the Java development environment

The build system is based on Apache Maven (version 3.0.4 or higher).

Most of the Logspace Java source code requires Java 8 to build. Since there are modules that should run with Java 7 or Java 6, you also need the respective JDKs installed to compile these modules. For that purpose the Maven build requires properties that point to them.

Here is an XML snippet that can be added to your local Maven settings.xml (of course the paths need to be adjusted):

<profile>
  <id>logspace</id>
  <activation>
    <activeByDefault>true</activeByDefault>
  </activation>
  <properties>
    <JAVA_6_HOME>/path/to/jdk-6</JAVA_6_HOME>
    <JAVA_7_HOME>/path/to/jdk-7</JAVA_7_HOME>
  </properties>
</profile>

Build your project with Maven:

mvn clean install

Prepare the Javascript (frontend) development environment

Mac

  • Install node.js: brew install node

Windows

  • Install node.js
  • Install Python 2.7.x and add it to your path or/and create a PYTHONPATH environment variable.
  • Install Visual Studio, the Express Edition is fine.
  • Set GYP_MSVS_VERSION environment property, if you are using Express, GYP_MSVS_VERSION=2013e

Linux (Debian based)

  • Install node.js: curl -sL https://deb.nodesource.com/setup | sudo bash -
  • Install build essentials and C++ compiler: sudo apt-get install build-essential g++

Install node dependencies

npm install -g gulp
cd logspace-frontend
npm install

Run the frontend

The logspace frontend uses este.js as development stack. este.js integrates all necessary tools to have an environment for convenient Javascript (Ecmascript 6) development (automatic reloads of Javascript and CSS, support of multiple CSS pre-compilers, etc.) and provides tools to create of artifacts (html/js/css).

Start development environment

cd logspace-frontend
gulp

Now point your browser to localhost:8000

Build release artifacts

cd logspace-frontend
gulp -p build

The artifacts are located in logspace-frontend/build