To compile ThingsBoard from sources on a Linux Ubuntu machine, you will need to follow these steps:
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:
Copy apt update
sudo apt install default - jdk maven Clone the ThingsBoard repository from GitHub. Use the following command to clone the repository:
Copy # checkout latest release branch
git clone -b release-3.8 [email protected] :thingsboard/thingsboard.git --depth 1
cd thingsboard Navigate to the directory where you cloned the repository using the cd command.
Build the ThingsBoard project using Maven. Run the following command to build the project:
Copy 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
TB Logo Hyperlink Change
ui-ngx/src/app/shared/components/logo.component.tsarrow-up-right
change thingsboard.io link to reuired link
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.tsarrow-up-right
appTitle : 'ThingsBoard ',
ui-ngx/src/environments/environment.prod.tsarrow-up-right
appTitle : 'ThingsBoard ',
find thingsboard/ -name *.svg
ui-ngx/src/assets/logo_white.svg
/ui-ngx/src/assets/logo_title_white.svg
ui-ngx/src/thingsboard.ico
with 32x32 pixel image convrted to .ico