This guide will help you to download and build ThingsBoard from sources. Instructions listed below are tested on Ubuntu 16.04 and CentOS 7.1
This section contains installation instructions for build tools.
ThingsBoard is build using Java 8. You can use following instructions to install Java 8.
ThingsBoard build requires Maven 3.1.0+.
resources/maven-ubuntu-installation.sh |
---|
|
resources/maven-centos-installation.sh |
---|
|
Please note that maven installation may set Java 7 as a default JVM on certain Linux machines. Use java installation instructions to fix this.
You can clone source code of the project from the official github repo.
git clone git@github.com:thingsboard/thingsboard.git
# checkout latest release branch
git checkout release-3.0
Run the following command from the thingsboard folder to build the project:
mvn clean install
mvn clean install -Ddockerfile.skip=false
You can find debian, rpm and windows packages in the target folder:
application/target