Skip to content

Commit a0e66f2

Browse files
committed
update readme
1 parent a169c10 commit a0e66f2

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

README.md

+5-2
Original file line numberDiff line numberDiff 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

7677
Example:
7778

@@ -87,7 +88,7 @@ Viarus
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`.
119120
Build package and run.
120121

121122
```
123+
git clone https://github.com/JoyChou93/java-sec-code
124+
cd java-sec-code
122125
mvn clean package -DskipTests
123126
java -jar target/java-sec-code-1.0.0.jar
124127
```

README_zh.md

+8-4
Original file line numberDiff line numberDiff 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
122126
mvn clean package -DskipTests
123127
java -jar 打包后的jar包路径
124128
```

0 commit comments

Comments
 (0)