How to Install Thingsboard on macOS
This tutorial will guide you through the steps to install Thingsboard on macOS.
Prerequisites
Before you start, make sure your macOS system meets the following requirements:
- Java 8 or later
- Git
Install Thingsboard
- Open the Terminal app on your macOS system.
- Clone the Thingsboard repository from Github using the following command:
git clone https://github.com/thingsboard/thingsboard.git - Change into the
thingsboarddirectory:cd thingsboard - Build the Thingsboard distribution package:
Note: This step will take some time to complete../gradlew clean build -x test - Once the build process has completed successfully, you can find the Thingsboard distribution package in the following directory:
thingsboard/application/target - Extract the distribution package by running the following command:
tar -xvf thingsboard-application.tar.gz - Change into the extracted directory:
cd thingsboard - Start Thingsboard using the following command:
Note: Thesudo ./bin/install/install.sh --loadDemo--loadDemooption loads the demo data, which is useful for testing and learning purposes. You can omit this option if you don't want to load the demo data. - Wait for the installation process to complete (it might take a few minutes).
- Once the installation has completed, you can access Thingsboard at the following URL:
http://localhost:8080
Congratulations! You have successfully installed Thingsboard on macOS. Enjoy exploring its features and capabilities.