Update readme and collaborator
This commit is contained in:
parent
6763aa1d37
commit
42c56b6037
2
LICENSE
2
LICENSE
|
@ -1,4 +1,4 @@
|
|||
Copyright (c) 2022 cyp0633
|
||||
Copyright (c) 2022 cyp0633 & szj-123
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
|
|
32
readme.md
32
readme.md
|
@ -11,8 +11,30 @@
|
|||
|
||||
结对项目(Web,未完成)
|
||||
|
||||
1. 下载 Go SDK 1.19 及之后版本
|
||||
2. 进入 cmd/server 目录
|
||||
3. 执行 `go build` 命令
|
||||
4. 运行编译出的 `server` 可执行文件
|
||||
5. 打开 `http://localhost:8000`
|
||||
1. 下载 Go SDK 1.19 及之后版本、Node.js 最新 LTS、yarn
|
||||
2. 进入 frontend 目录
|
||||
3. 备份 frontend/dist/frontend.go 文件
|
||||
4. 执行 `yarn build` 命令
|
||||
5. 恢复 frontend/dist/frontend.go 文件
|
||||
6. 进入 cmd/server 目录
|
||||
7. 执行 `go build` 命令
|
||||
8. 创建 conf.ini 文件
|
||||
9. 运行编译出的 `server` 可执行文件
|
||||
10. 打开 `http://localhost:8000`
|
||||
|
||||
## 配置文件格式
|
||||
|
||||
```ini
|
||||
[mail]
|
||||
identity = "默认为空即可"
|
||||
username = "邮箱地址"
|
||||
password = "邮箱密码"
|
||||
host = "邮件服务器地址"
|
||||
|
||||
[sms]
|
||||
access_key_id = "阿里云短信服务 AccessKeyId"
|
||||
access_key_secret = "阿里云短信服务 AccessKeySecret"
|
||||
|
||||
[server]
|
||||
port = 8000 # 服务器端口
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue