Build Structr from the Source Code#
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 Structr 2.1, the build configuration has been changed to produce a fast, minimal build, with the option to enable additional modules, distributions, tests. etc. See Structr 2.1 Build Configurations for more information on that topic.