Build Structr from the Source Code

Search
Feedback

This article assumes that you already installed all the prerequisites. To build Structr from the sources, you will need:

  • Git
  • Maven
  • Java 8 (JDK)

Build Structr on a Linux Machine

git clone https://github.com/structr/structr.git
cd structr
mvn clean install -DskipTests
cd structr-ui
mvn validate exec:exec

Other Operating Systems

The build process should be roughly the same on all operating systems.

Optimizing build time

In order to save time the above command (mvn clean install -DskipTests) can be replaced by this command which skips a lot of the steps.

mvn clean install -DskipTests -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -Dassembly.skipAssembly=true -DskipDeb=true -Denforcer.skip=true

Graph-Browser

About this article
Last change 2016-03-04
Topics Structr 2.0