|
@@ -0,0 +1,48 @@
|
|
|
|
+## 项目打包
|
|
|
|
+
|
|
|
|
+```bash
|
|
|
|
+mvn clean package -Dmaven.test.skip=true
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+> 打包后会有俩个`*.jar`,使用`nosum-gateway-v1-jar-with-dependencies.jar`
|
|
|
|
+
|
|
|
|
+## 运行项目
|
|
|
|
+
|
|
|
|
+> `windows`环境下进入到 `target`中,使用如下命令
|
|
|
|
+
|
|
|
|
+```bash
|
|
|
|
+java -jar nosum-gateway-v1-jar-with-dependencies.jar
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+> `linux`环境下,将`nosum-gateway-v1-jar-with-dependencies.jar`与`nosum-gateway.sh`上传到同一目录中,进入到文件所在目录,执行如下命令
|
|
|
|
+
|
|
|
|
+```bash
|
|
|
|
+sh nosum-gateway.sh
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+## 下载地址
|
|
|
|
+
|
|
|
|
+> `github`地址`https`
|
|
|
|
+
|
|
|
|
+```text
|
|
|
|
+
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+> `github`地址`ssh`
|
|
|
|
+
|
|
|
|
+```text
|
|
|
|
+
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+> 个人远程仓库`https`
|
|
|
|
+
|
|
|
|
+```text
|
|
|
|
+https://git.nosum.cn/nosum/nosum-gateway.git
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+> 个人远程仓库`ssh`
|
|
|
|
+
|
|
|
|
+```text
|
|
|
|
+root@git.nosum.cn:nosum/nosum-gateway.git
|
|
|
|
+```
|
|
|
|
+
|