|
|
@@ -1,36 +1,16 @@
|
|
|
-<div align="center">
|
|
|
-
|
|
|
-<a href='#企业版'>
|
|
|
- <img src="./docs/images/ent.svg" alt="icon"/>
|
|
|
-</a>
|
|
|
-
|
|
|
-<h1 align="center">NextChat</h1>
|
|
|
-
|
|
|
-一键免费部署你的私人 ChatGPT 网页应用,支持 GPT3, GPT4 & Gemini Pro 模型。
|
|
|
+## npm build
|
|
|
+- next.config.mjs
|
|
|
+- 
|
|
|
+- 命令行执行npm run build 进行打包
|
|
|
|
|
|
-[企业版](#%E4%BC%81%E4%B8%9A%E7%89%88) /[演示 Demo](https://chat-gpt-next-web.vercel.app/) / [反馈 Issues](https://github.com/Yidadaa/ChatGPT-Next-Web/issues) / [加入 Discord](https://discord.gg/zrhvHCr79N)
|
|
|
-
|
|
|
-[<img src="https://vercel.com/button" alt="Deploy on Zeabur" height="30">](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FChatGPTNextWeb%2FChatGPT-Next-Web&env=OPENAI_API_KEY&env=CODE&project-name=nextchat&repository-name=NextChat) [<img src="https://zeabur.com/button.svg" alt="Deploy on Zeabur" height="30">](https://zeabur.com/templates/ZBUEFA) [<img src="https://gitpod.io/button/open-in-gitpod.svg" alt="Open in Gitpod" height="30">](https://gitpod.io/#https://github.com/Yidadaa/ChatGPT-Next-Web)
|
|
|
-
|
|
|
-</div>
|
|
|
-
|
|
|
-## 企业版
|
|
|
-
|
|
|
-满足您公司私有化部署和定制需求
|
|
|
-- **品牌定制**:企业量身定制 VI/UI,与企业品牌形象无缝契合
|
|
|
-- **资源集成**:由企业管理人员统一配置和管理数十种 AI 资源,团队成员开箱即用
|
|
|
-- **权限管理**:成员权限、资源权限、知识库权限层级分明,企业级 Admin Panel 统一控制
|
|
|
-- **知识接入**:企业内部知识库与 AI 能力相结合,比通用 AI 更贴近企业自身业务需求
|
|
|
-- **安全审计**:自动拦截敏感提问,支持追溯全部历史对话记录,让 AI 也能遵循企业信息安全规范
|
|
|
-- **私有部署**:企业级私有部署,支持各类主流私有云部署,确保数据安全和隐私保护
|
|
|
-- **持续更新**:提供多模态、智能体等前沿能力持续更新升级服务,常用常新、持续先进
|
|
|
-
|
|
|
-企业版咨询: **business@nextchat.dev**
|
|
|
-
|
|
|
-<img width="300" src="https://github.com/user-attachments/assets/3daeb7b6-ab63-4542-9141-2e4a12c80601">
|
|
|
+## 部署
|
|
|
+- 打包成功后会在.next文件夹下生成standalone static两个文件夹
|
|
|
+- standalone相当于一个express应用,包含server.js和少量的服务端依赖node_modules
|
|
|
+static是前端包
|
|
|
+- 部署时,需要拷贝static到standalone/.next文件夹下,拷贝外层public文件夹到standalone下
|
|
|
+- 进入standalone目录,执行node server.js即可启动服务
|
|
|
|
|
|
## 开始使用
|
|
|
-
|
|
|
1. 准备好你的 [OpenAI API Key](https://platform.openai.com/account/api-keys);
|
|
|
2. 点击右侧按钮开始部署:
|
|
|
[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FYidadaa%2FChatGPT-Next-Web&env=OPENAI_API_KEY&env=CODE&env=GOOGLE_API_KEY&project-name=chatgpt-next-web&repository-name=ChatGPT-Next-Web),直接使用 Github 账号登录即可,记得在环境变量页填入 API Key 和[页面访问密码](#配置页面访问密码) CODE;
|