Skip to content

Commit

Permalink
docs: add missing manual deployment documentation (#7)
Browse files Browse the repository at this point in the history
* docs: add missing manual deployment documentation

* docs: fix manual deployment steps

* docs: update readme

---------

Co-authored-by: JustSong <[email protected]>
  • Loading branch information
shiqimei and songquanpeng authored Apr 24, 2023
1 parent 918ba60 commit 336c03a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@ _✨ All in one 的 OpenAI 接口,整合各种 API 访问方式,开箱即用
1.[GitHub Releases](https://github.com/songquanpeng/one-api/releases/latest) 下载可执行文件或者从源码编译:
```shell
git clone https://github.com/songquanpeng/one-api.git

# 构建前端
cd one-api/web
npm install
npm run build

# 构建后端
cd ..
go mod download
go build -ldflags "-s -w" -o one-api
````
Expand Down

0 comments on commit 336c03a

Please sign in to comment.