home/versioned_docs/version-1.6.x/community/development.md
To get HertzBeat code running on your development tools, and able to debug with breakpoints. This is a front-end and back-end separation project. To start the local code, the back-end manager and the front-end web-app must be started separately.
maven3+, java17 and lombok environmentshertzbeat-startup/src/main/resources/application.ymlmvn clean install -DskipTests--add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMEDspringboot startup service: hertzbeat-startup/src/main/java/org/apache/hertzbeat/startup/HertzBeatApplication.javaNeed Node Yarn Environment, Make sure Node.js >= 18
Cd to the web-app directory: cd web-app
Install yarn if not existed npm install -g yarn
Install Dependencies: yarn install or yarn install --registry=https://registry.npmmirror.com in web-app
After the local backend is started, start the local frontend in the web-app directory: yarn start
Browser access to localhost:4200 to start, default account/password is admin/hertzbeat
Requires
maven3+,java17,nodeandyarnenvironments.
Need Node Yarn Environment, Make sure Node.js >= 18
Cd to the web-app directory: cd web-app
Install yarn if not existed npm install -g yarn
Install Dependencies: yarn install or yarn install --registry=https://registry.npmmirror.com in web-app
Build web-app: yarn package
Requires maven3+, java17 environments
Execute under the project root directory: mvn clean package -Prelease
The HertzBeat install package will at dist/hertzbeat-{version}.tar.gz
Requires maven3+, java17 environments
Execute under the project root directory: mvn clean install
Cd to the hertzbeat-collector directory: cd hertzbeat-collector
Execute under hertzbeat-collector directory: mvn clean package -Pcluster
The HertzBeat collector package will at dist/hertzbeat-collector-{version}.tar.gz