feat: update the docs in forking applications (#1491)

This commit is contained in:
crazywoola
2023-11-08 19:44:15 +08:00
committed by GitHub
parent 306216dbe5
commit 94d7babbf1
4 changed files with 29 additions and 24 deletions

View File

@@ -77,11 +77,11 @@ const translation = {
step1: 'Fork the client code and modify it',
step1Tip: 'Click here to fork the source code into your GitHub account and modify the code',
step1Operation: 'Dify-WebClient',
step2: 'Configure the Web',
step2Tip: 'Copy the Web API and APP ID,then paste them into the client code config/index.ts',
step3: 'Deploy to Vercel',
step3Tip: 'Click here to import the repository into Vercel and deploy',
step3Operation: 'Import repository',
step2: 'Deploy to Vercel',
step2Tip: 'Click here to import the repository into Vercel and deploy',
step2Operation: 'Import repository',
step3: 'Configure environment variables',
step3Tip: 'Add the following environment variables in Vercel',
},
way2: {
name: 'Write client-side code to call the API and deploy it to a server',

View File

@@ -77,11 +77,11 @@ const translation = {
step1: 'Fork 客户端代码并修改',
step1Tip: '点击此处 Fork 源码到你的 GitHub 中,然后修改代码',
step1Operation: 'Dify-WebClient',
step2: '配置 Web APP',
step2Tip: '复制 Web API 秘钥 和 APP ID 拷贝到客户端代码 config/index.ts 中',
step3: '部署到 Vercel 中',
step3Tip: '点击此处将仓库导入到 Vercel 中部署',
step3Operation: '导入仓库',
step2: '部署到 Vercel 中',
step2Tip: '点击此处将仓库导入到 Vercel 中部署',
step2Operation: '导入仓库',
step3: '配置环境变量',
step3Tip: '在 Vecel 环境变量中添加以下环境变量',
},
way2: {
name: '编写客户端调用 API 并部署到服务器中',