[doc] add deployment methods (#912)

Update README_CN.md

Signed-off-by: zqr10159 <zqr10159@126.com>

  Update README.md

Signed-off-by: zqr10159 <zqr10159@126.com>

  Update README.md

Signed-off-by: zqr10159 <zqr10159@126.com>

---------

Signed-off-by: zqr10159 <zqr10159@126.com>
This commit is contained in:
zqr10159
2023-04-24 14:54:20 +08:00
committed by GitHub
parent c3e45d9b25
commit f00fcf960b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ Detailed config refer to [Install HertzBeat via Docker](https://hertzbeat.com/do
1. Download the installation package [GITEE Release](https://gitee.com/dromara/hertzbeat/releases) [GITHUB Release](https://github.com/dromara/hertzbeat/releases)
2. Need `Java11` Environment
3. Configure the HertzBeat configuration yml file `hertzbeat/config/application.yml` (optional)
4. Run shell `$ ./startup.sh ` or `startup.bat`
4. Run shell `$ ./startup.sh ` or `startup.bat`(If there are multiple Java environments configured in the system environment variables and `java11` is not included, modify `$ ./startup.sh` or `startup.bat` to specify the Java path manually. In `startup.sh`, add `JAVA_HOME=${JAVA_DIR}` at the first line. In `startup.bat`, modify `javaw` to the path of `java11`, such as `C:\Users\user\.jdks\corretto-11.0.18\bin\javaw`)
5. Access `localhost:1157` to start, default account: `admin/hertzbeat`
Detailed config refer to [Install HertzBeat via Package](https://hertzbeat.com/docs/start/package-deploy)
+1 -1
View File
@@ -100,7 +100,7 @@
1. 下载您系统环境对应的安装包 [GITEE Release](https://gitee.com/dromara/hertzbeat/releases) [GITHUB Release](https://github.com/dromara/hertzbeat/releases)
2. 需要已安装`java11`环境
3. 配置 HertzBeat 的配置文件 `hertzbeat/config/application.yml`(可选)
4. 部署启动 `$ ./startup.sh ``startup.bat`
4. 部署启动 `$ ./startup.sh ``startup.bat`(如果在多java环境中,环境变量中配置了其他java环境如`java8`,没有`java11`,需编辑`$ ./startup.sh ``startup.bat`手动指定java路径,`startup.sh`在第一行添加`JAVA_HOME=${JAVA_DIR}``startup.bat`修改`start javaw %JAVA_OPTS% %JAVA_MEM_OPTS% %CONFIG_FILES% -jar %DEPLOY_DIR%\%JAR_NAME% >logs\startup.log 2>&1 &`中的`javaw``java11`的路径,如`C:\Users\user\.jdks\corretto-11.0.18\bin\javaw`)
5. 浏览器访问 `localhost:1157` 即可开始,默认账号密码 `admin/hertzbeat`
更多配置详细步骤参考 [通过安装包安装HertzBeat](https://hertzbeat.com/docs/start/package-deploy)