File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,8 @@ spring.datasource.password=woshishujukumima
7171
7272### IDEA
7373
74- Click ` run ` button.
74+ - ` git clone https://github.com/JoyChou93/java-sec-code `
75+ - Open in IDEA and click ` run ` button.
7576
7677Example:
7778
8788
8889### Tomcat
8990
90-
91+ - ` git clone https://github.com/JoyChou93/java-sec-code ` & ` cd java-sec-code `
9192- Build war package by ` mvn clean package ` .
9293- Copy war package to tomcat webapps directory.
9394- Start tomcat application.
@@ -119,6 +120,8 @@ Change `war` to `jar` in `pom.xml`.
119120Build package and run.
120121
121122```
123+ git clone https://github.com/JoyChou93/java-sec-code
124+ cd java-sec-code
122125mvn clean package -DskipTests
123126java -jar target/java-sec-code-1.0.0.jar
124127```
Original file line number Diff line number Diff line change @@ -70,7 +70,8 @@ spring.datasource.password=woshishujukumima
7070
7171### IDEA
7272
73- 直接点击run按钮即可运行。
73+ - ` git clone https://github.com/JoyChou93/java-sec-code `
74+ - 在IDEA中打开,直接点击run按钮即可运行。
7475
7576例子:
7677
@@ -86,9 +87,10 @@ Viarus
8687
8788### Tomcat
8889
89- 1 . 生成war包 ` mvn clean package ` 。
90- 2 . 将target目录的war包,cp到Tomcat的webapps目录。
91- 3 . 重启Tomcat应用。
90+ 1 . ` git clone https://github.com/JoyChou93/java-sec-code & cd java-sec-code `
91+ 2 . 生成war包 ` mvn clean package `
92+ 3 . 将target目录的war包,cp到Tomcat的webapps目录
93+ 4 . 重启Tomcat应用
9294
9395
9496例子:
@@ -119,6 +121,8 @@ Viarus
119121再打包运行即可。
120122
121123```
124+ git clone https://github.com/JoyChou93/java-sec-code
125+ cd java-sec-code
122126mvn clean package -DskipTests
123127java -jar 打包后的jar包路径
124128```
You can’t perform that action at this time.
0 commit comments