home/versioned_docs/version-1.7.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 pnpm Environment, Make sure Node.js >= 18
Cd to the web-app directory: cd web-app
Install pnpm if not existed npm install -g pnpm
Install Dependencies: pnpm install or pnpm install --registry=https://registry.npmmirror.com in web-app
After the local backend is started, start the local frontend in the web-app directory: pnpm start
Browser access to localhost:4200 to start, default account/password is admin/hertzbeat
Requires
maven3+,java17,nodeandpnpmenvironments.
Need Node pnpm Environment, Make sure Node.js >= 18
Cd to the web-app directory: cd web-app
Install pnpm if not existed npm install -g pnpm
Install Dependencies: pnpm install or pnpm install --registry=https://registry.npmmirror.com in web-app
Build web-app: pnpm 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