【7.3.0】更新readme

pull/20/head
fengshuonan 2022-10-29 23:29:17 +08:00
parent 74d7a4eb3c
commit 56497d6a22
2 changed files with 20 additions and 12 deletions

View File

@ -23,7 +23,7 @@
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
## 配套手册 ## 官方网站
[https://www.javaguns.com/](https://www.javaguns.com/) [https://www.javaguns.com/](https://www.javaguns.com/)
@ -79,6 +79,25 @@ Guns是一个现代化的Java应用开发框架基于主流技术**Spring Boo
2. 提供对Guns-DevOps的快速集成方式。之前DevOps平台仅支持CentOS的一键部署现在使用v7.3.0可以通过pom集成的方式直接启动Guns项目就可以启动Guns-DevOps平台但仍需配置秘钥。 2. 提供对Guns-DevOps的快速集成方式。之前DevOps平台仅支持CentOS的一键部署现在使用v7.3.0可以通过pom集成的方式直接启动Guns项目就可以启动Guns-DevOps平台但仍需配置秘钥。
#### devops集成指南
1. 下载[Guns私服库的maven settings.xml](https://gitee.com/stylefeng/guns/blob/dev-7.3.0/_devops/settings.xml)替换掉你的本地maven配置文件。
2. pom.xml中引入如下模块
```xml
<!--Guns-DevOps集成-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-s-devops-integration</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
```
3. 启动项目后前端点击右上角即可跳转到Guns-DevOps界面
4. 项目上线后可删掉相关依赖减轻Jar包的重量
## Guns功能列表 ## Guns功能列表
- 1.控制面板 - 1.控制面板

View File

@ -1,11 +0,0 @@
#!/bin/sh
echo " =====关闭Guns应用======"
PROCESS=`ps -ef | grep java | grep -v grep | grep guns.jar | awk '{print $2}'`
for i in $PROCESS
do
echo "Kill the $1 process [ $i ]"
kill -9 $i
done
echo " =====关闭Guns应用======"
nohup java -Xms1024M -Xmx1024M -XX:MetaspaceSize=512m -XX:MaxMetaspaceSize=512M -jar guns.jar --spring.profiles.active=local > guns.out &
tail -f guns.out