thingsboard
thingsboard copied to clipboard
[Question] How to start through IDEA
Component
- Installation
Description How can I start a project directly from the source code instead of Download and extract the package to execute install.bat --loadDemo. Environment
- OS: windows
- ThingsBoard: release-3.6
So far I understand, that you want to run the project in dev mode. If this is the case, then follow the instructions.
- Clone the project:
git clone https://github.com/thingsboard/thingsboard.gitand checkout torelease-3.6 - Open the
thingsboardfolder using intellij IDEA. It will some time to load the dependencies. - You will see
Mavenicon at the top right corner of IDE. By clicking it will open the maven config. - Now open the
Thingsboardlifecycle and dbl click oninstall. Now it will configure everything for you to run the project. - Make sure that you have
Java 11,Angular 16are installed in your device. - Before running the
Angular CLI Server, you have to run theThingsboardServerApplication. - If you have thingsboard instance running in your system, it will make every necessary port busy. So you also have to stop the
thingsboardservice before running theThingsboardServerApplication.
@0xNasir I followed your instructions on the IntelliJ idea, unfortunately, the Maven install was not completed it failed with this error [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.5.0:test (default-test) on project script-api: There are test failures.