Skip to content

Commit 02412f8

Browse files
committed
docs: update README
1 parent 2441e38 commit 02412f8

File tree

2 files changed

+30
-30
lines changed

2 files changed

+30
-30
lines changed

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -259,23 +259,23 @@ Files.write(Paths.get("agent.jar"), agentJarBytes);
259259
首先需要下载 [bun](https://bun.sh/),这是一款用于构建前端服务的工具。
260260

261261
1. 使用 Git Clone 项目
262-
```bash
263-
git clone https://github.com/ReaJason/MemShellParty.git
264-
```
262+
```bash
263+
git clone https://github.com/ReaJason/MemShellParty.git
264+
```
265265
2. 构建前端项目,build 结束会将静态资源自动移动到 Spring Boot 中以供使用
266-
```bash
267-
cd MemShellParty/web
268-
269-
bun install
270-
271-
bun run build
272-
```
266+
```bash
267+
cd MemShellParty/web
268+
269+
bun install
270+
271+
bun run build
272+
```
273273
3. 构建后端项目,确保使用 JDK17 环境
274-
```bash
275-
cd MemShellParty/boot
276-
277-
./gradlew :boot:bootjar -x test
278-
```
274+
```bash
275+
cd MemShellParty/boot
276+
277+
./gradlew :boot:bootjar -x test
278+
```
279279

280280
构建完之后,可直接启动 jar 包,jar 包位于 `MemShellParty/boot/build/libs/boot-1.0.0.jar`
281281

docs/README.en.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -257,23 +257,23 @@ Compatible with Java6 ~ Java8, Java9, Java11, Java17, Java21
257257
First, you need to download and install [bun](https://bun.sh/), a tool for building the frontend service.
258258

259259
1. Clone the project using Git:
260-
```bash
261-
git clone https://github.com/ReaJason/MemShellParty.git
262-
```
260+
```bash
261+
git clone https://github.com/ReaJason/MemShellParty.git
262+
```
263263
2. Build the frontend project. After the build finishes, static resources will be automatically moved to the Spring Boot module.
264-
```bash
265-
cd MemShellParty/web
266-
267-
bun install
268-
269-
bun run build
270-
```
264+
```bash
265+
cd MemShellParty/web
266+
267+
bun install
268+
269+
bun run build
270+
```
271271
3. Build the backend project. Ensure you are using a JDK 17 environment.
272-
```bash
273-
cd MemShellParty/boot
274-
275-
./gradlew :boot:bootjar -x test
276-
```
272+
```bash
273+
cd MemShellParty/boot
274+
275+
./gradlew :boot:bootjar -x test
276+
```
277277

278278
After building, you can directly run the JAR file located at `MemShellParty/boot/build/libs/boot-*.jar` (the exact version might vary).
279279

0 commit comments

Comments
 (0)