feat: save registered accounts to postgres
This commit is contained in:
15
README.md
15
README.md
@@ -52,6 +52,8 @@ python3 /root/standalone_cli/run.py config setup
|
||||
|
||||
`config init` 只是初始化配置文件;`config setup` 才是交互式配置引导。
|
||||
|
||||
`config setup` 现在也支持交互式填写 PostgreSQL 入库配置。
|
||||
|
||||
初始化后请编辑:
|
||||
|
||||
- `/root/standalone_cli/data/sync_config.json`
|
||||
@@ -65,6 +67,19 @@ python3 /root/standalone_cli/run.py config setup
|
||||
- `bearer_token` 或 `email` + `password`
|
||||
- 邮箱提供商配置 `mail_provider_configs`
|
||||
|
||||
如果你希望注册成功后把邮箱、GPT 密码、邮箱密码、姓名、生日等信息写入 PostgreSQL,还需要填写:
|
||||
|
||||
- `db_enabled`
|
||||
- `db_host`
|
||||
- `db_port`
|
||||
- `db_name`
|
||||
- `db_user`
|
||||
- `db_password`
|
||||
- `db_table`
|
||||
- `db_source`
|
||||
|
||||
当前你这边实际使用的数据库名是:`mail_accounts_db`
|
||||
|
||||
当前这台机器实测可用的代理是:
|
||||
|
||||
- `http://127.0.0.1:17891`
|
||||
|
||||
Reference in New Issue
Block a user