Skip to content

Commit

Permalink
增加自托管说明
Browse files Browse the repository at this point in the history
  • Loading branch information
Ice-Hazymoon committed Mar 6, 2023
1 parent 56afac6 commit 78a0c61
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
本教程不仅仅针对云函数,你也可以托管在自己的服务器上,或者 Azure 等平台,只要能运行 Node.js 程序即可,参加下方[【自托管】](#自托管)部分。

# 猴子也能学会的腾讯云函数搭建 OpenAI 国内代理教程

> 优势:免费!比 Cloudflare Worker 简单,支持香港等多地区可选,部署简单,一行代码都不用写,有 QQ、微信账号就能注册,猴子也能学会!
Expand Down Expand Up @@ -44,3 +46,12 @@
点击右上角的🔑图标,在接口地址中输入这个地址,点击保存即可

愉快的与 OpenAI 一起冲浪吧~

## 自托管

```
git clone https://github.com/Ice-Hazymoon/openai-scf-proxy
cd openai-scf-proxy
npm install
npm run start
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0",
"private": true,
"scripts": {
"start": "node ./bin/www"
"start": "node app.js"
},
"dependencies": {
"express": "~4.16.1",
Expand Down

0 comments on commit 78a0c61

Please sign in to comment.