Compiling Thingsboard from sources

To compile ThingsBoard from sources on a Linux Ubuntu machine, you will need to follow these steps:

  1. Install the required dependencies. ThingsBoard requires Java 8 and Maven to be installed on your machine. You can install these dependencies using the following commands:

    1. :

    apt update
    sudo apt install default-jdk maven
    1. Clone the ThingsBoard repository from GitHub. Use the following command to clone the repository:

    # checkout latest release branch
    git clone -b release-3.8 [email protected]:thingsboard/thingsboard.git --depth 1
    cd thingsboard
    1. Navigate to the directory where you cloned the repository using the cd command.

    2. Build the ThingsBoard project using Maven. Run the following command to build the project:

    sudo mvn clean install -DskipTests

    This will compile the ThingsBoard project and create the required artifacts.

Custom Logo for TB

ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.html

<section*ngIf="!embedded" data-html2canvas-ignoreclass="tb-powered-by-footer" [ngStyle]="{'color': dashboard.configuration.settings.titleColor}">

<span>Powered by <ahref="https://thingsboard.io" target="_blank">Thingsboard v.{{ thingsboardVersion }}</a></span>

</section>

TB Version update URL removal

thingsboard/dao/src/main/java/org/thingsboard/server/dao/notification/DefaultNotifications.java

remove below line:

.button("Open release notes").link("${latestVersionReleaseNotesUrl}")

ui-ngx/src/app/modules/home/components/widget/lib/home-page/version-info.component.html

replace tb url with your own

ui-ngx/src/app/shared/components/logo.component.ts

change thingsboard.io link to reuired link

Title Change

ui-ngx/src/index.html

<!doctype html>

<htmllang="en" style="width: 100%; height: 100%;">

<head>

<metacharset="utf-8">

<title>ThingsBoard</title>

<basehref="/">

ui-ngx/src/assets/locale/locale.constant-en_US.json

"socialshare-text": "'{{dashboardTitle}}' powered by ThingsBoard",

"socialshare-title": "'{{dashboardTitle}}' powered by ThingsBoard",

"thingsboard": "BridgeThings",

Also Chnage for AppTitle

ui-ngx/src/environments/environment.ts

appTitle: 'ThingsBoard',

ui-ngx/src/environments/environment.prod.ts

appTitle: 'ThingsBoard',

Change Logos

find thingsboard/ -name *.svg

ui-ngx/src/assets/logo_white.svg

/ui-ngx/src/assets/logo_title_white.svg

Replace ico

ui-ngx/src/thingsboard.ico

with 32x32 pixel image convrted to .ico

Last updated