ChatGPT-Next-Web/docs/synchronise-chat-logs-cn.md

32 lines
813 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 同步聊天记录
## 准备工作
- GitHub账号
- 拥有自己搭建过的ChatGPT-Next-Web的服务器
- [UpStash](https://upstash.com)
## 开始教程
1. 注册UpStash账号
2. 创建数据库
![注册登录](./images/upstash-1.png)
![创建数据库](./images/upstash-2.png)
![选择服务器](./images/upstash-3.png)
3. 找到REST API分别复制UPSTASH_REDIS_REST_URL和UPSTASH_REDIS_REST_TOKEN⚠切记⚠不要泄露Token!
![复制](./images/upstash-4.png)
4. UPSTASH_REDIS_REST_URL和UPSTASH_REDIS_REST_TOKEN复制到你的同步配置点击**检查可用性**
![同步1](./images/upstash-5.png)
如果没什么问题,那就成功了
![同步可用性完成的样子](./images/upstash-6.png)
5. Success!
![好耶~](./images/upstash-7.png)