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 ````