-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
新增: 多数据库支持 [cloudbase, deta, github, inspirecloud, leancloud, mongodb, mysql, postgresql, sqlite] 新增: console 显示行号功能,既方便调试,也方便用户反馈问题能更精确的看到错误文件以及行号 调整: 发送邮件通知请求时,延迟从500ms改为1000ms 调整: 评论信息输入错误时,提高成为部分(背景变换提示) 调整: 改回自定义初始化管理员账户功能 调整: 若干 修复: 评论管理搜索图标消失的bug 修复: 获取评论后,控制台输出的小失误 修复: 若干
- Loading branch information
Showing
36 changed files
with
2,848 additions
and
421 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,106 @@ | ||
# Discuss environment Config | ||
|
||
# 数据库连接地址 | ||
DISCUSS_MONGODB='mongodb://localhost:27017/Discuss' | ||
# 启动的端口号(仅对服务器有用) | ||
DISCUSS_PORT=6870 | ||
|
||
# 启动的端口号 | ||
DISCUSS_PORT='6870' | ||
# Token 加密的密钥字符串([可选]自定义) | ||
DISCUSS_SECRET=Discuss | ||
|
||
# 加密的密钥字符串(自定义) | ||
DISCUSS_SECRET='Discuss' | ||
# 数据库连接 | ||
|
||
# 使用什么数据库 | ||
## 目前可选的数据库 [cloudbase, deta, github, inspirecloud, leancloud, mongodb, mysql, postgresql, sqlite] | ||
DISCUSS_DB_TYPE=mongodb | ||
|
||
|
||
# ------ CloudBase 腾讯云 ------ | ||
## CloudBase 环境 ID | ||
D_TCB_ENV= | ||
## CloudBase API 密钥 ID | ||
D_TCB_ID= | ||
## CloudBase API 密钥 Key | ||
D_TCB_KEY= | ||
|
||
|
||
# ------ Deta ------ | ||
## Deta 项目密钥 Key | ||
D_DETA_KEY= | ||
|
||
|
||
# ------ GitHub ------ | ||
## GitHub token | ||
D_GH_TOKEN= | ||
## GitHub 仓库名 | ||
D_GH_REPO= | ||
## GitHub 仓库存储路径 | ||
D_GH_PATH= | ||
|
||
|
||
# ------ InspireCloud 轻服务 ------ | ||
## 轻服务 ID | ||
D_IC_ID= | ||
## 轻服务 Key | ||
D_IC_KEY= | ||
|
||
|
||
# ------ LeanCloud ------ | ||
## App ID | ||
D_LC_ID= | ||
## App Key | ||
D_LC_KEY= | ||
## Master Key | ||
D_LC_MKEY= | ||
|
||
|
||
# ------ MongoDB ------ | ||
## 主机地址 | ||
D_MONGO_HOST= | ||
## 端口 | ||
D_MONGO_PORT= | ||
## 数据库名 | ||
D_MONGO_DB= | ||
## 用户名 | ||
D_MONGO_USER= | ||
## 密码 | ||
D_MONGO_PASSWORD= | ||
## 集群 | ||
D_MONGO_REPLICASET= | ||
## 认证源 | ||
D_MONGO_AUTHSOURCE= | ||
## 是否启用 SSL 连接方式 | ||
D_MONGO_SSL= | ||
|
||
|
||
# ------ MySQL ------ | ||
## 主机地址 | ||
D_MYSQL_HOST= | ||
## 端口 | ||
D_MYSQL_PORT= | ||
## 数据库名 | ||
D_MYSQL_DB= | ||
## 用户名 | ||
D_MYSQL_USER= | ||
## 密码 | ||
D_MYSQL_PASSWORD= | ||
## 字符集编码 | ||
D_MYSQL_CHARSET= | ||
|
||
|
||
# ------ PostgreSQL ------ | ||
## 主机地址 | ||
D_PG_HOST= | ||
## 端口 | ||
D_PG_PORT= | ||
## 数据库名 | ||
D_PG_DB= | ||
## 用户名 | ||
D_PG_USER= | ||
## 密码 | ||
D_PG_PASSWORD= | ||
|
||
|
||
# ------ SQLite ------ | ||
## 数据文件存放路径 | ||
D_SQLITE_PATH= | ||
## 数据库名 | ||
D_SQLITE_DB= |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.