From 335e4337e55649c3c51ca3e74fe51dfc3bc93b0b Mon Sep 17 00:00:00 2001 From: Benny Date: Fri, 26 Jan 2024 02:10:53 +0000 Subject: [PATCH] refine the step of manually deploying --- README.en.md | 4 ++-- README.ja.md | 4 ++-- README.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.en.md b/README.en.md index e7f254f7..eec0047b 100644 --- a/README.en.md +++ b/README.en.md @@ -134,12 +134,12 @@ The initial account username is `root` and password is `123456`. git clone https://github.com/songquanpeng/one-api.git # Build the frontend - cd one-api/web + cd one-api/web/default npm install npm run build # Build the backend - cd .. + cd ../.. go mod download go build -ldflags "-s -w" -o one-api ``` diff --git a/README.ja.md b/README.ja.md index edfd2a28..e9149d71 100644 --- a/README.ja.md +++ b/README.ja.md @@ -135,12 +135,12 @@ sudo service nginx restart git clone https://github.com/songquanpeng/one-api.git # フロントエンドのビルド - cd one-api/web + cd one-api/web/default npm install npm run build # バックエンドのビルド - cd .. + cd ../.. go mod download go build -ldflags "-s -w" -o one-api ``` diff --git a/README.md b/README.md index 02a62387..ff5e07d4 100644 --- a/README.md +++ b/README.md @@ -174,12 +174,12 @@ docker-compose ps git clone https://github.com/songquanpeng/one-api.git # 构建前端 - cd one-api/web + cd one-api/web/default npm install npm run build # 构建后端 - cd .. + cd ../.. go mod download go build -ldflags "-s -w" -o one-api ````