forked from thingsboard/thingsboard
-
Notifications
You must be signed in to change notification settings - Fork 1
Setup
paresh brahmacharimayum edited this page Oct 11, 2020
·
12 revisions
-
Set-up Ubuntu 1804/2004 Linux desktop environment
- WSL2 for Linux
- Dual boot with Window
-
Install JDK
sudo apt update
sudo apt install openjdk-8-jdk
java -version
- Install SDKMAN
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
- Install maven
sdk install maven
- Get code
git clone [email protected]:Nibiaa-Devices-IoT-platforn/thingsboard.git
- Setup locally
cd thingsboard
mvn clean install -DskipTests
# Set-up DB
psql -U postgres -d postgres -h 127.0.0.1 -W
CREATE DATABASE thingsboard;
\q
# seed DB
cd application/target/bin/install
sudo chmod 755 install_dev_db.sh
sudo ./install_dev_db.sh
# run server on http://localhost:8080
java -jar application/target/thingsboard-3.2.0-SNAPSHOT-boot.jar