Documentation Notice
Good documentation is critical for any type of software. Any contribution that can improve the HertzBeat documentation is welcome.
Get the document project
Documentation for the HertzBeat project is maintained in git repository home directory.
First you need to fork the document project into your own github repository, and then clone the document to your local computer.
git clone git@github.com:<your-github-user-name>/hertzbeat.git
Preview and generate static files
This website is compiled using node, using Docusaurus framework components
- Download and install nodejs (version 18.8.0)
- Clone the code to the local
git clone git@github.com:apache/hertzbeat.git - In
homedirectory runnpm installto install the required dependent libraries. - In
homedirectory runnpm run start, you can visit http://localhost:3000 to view the English mode preview of the site - In
homedirectory runnpm run start-zh-cn, you can visit http://localhost:3000 to view the Chinese mode preview of the site - To generate static website resource files, run
npm run build. The static resources of the build are in the build directory.