Mysql审核平台
1.下载安装
Yearning-go 提供二进制下载包
下载地址 https://github.com/cookieY/Yearning/releases
2.修改配置文件
cat conf.toml
[Mysql]
Db = "Yearning"
Host = "127.0.0.1"
Port = "3306"
Password = "xxxx"
User = "root"
[General] #数据库加解密key,只可更改一次。
SecretKey = "dbcjqheupqjsuwsm"
# SecretKey 是 token/数据库密码加密/解密的 salt。
3.初始化数据结构
./Yearning -m
请务必在-s 启动前首先执行-m 初始化操作!
如要再次初始化,请先把 yearning 库下所有表删除,否则重复执行无效
4.参数启动
./Yearning -s -b "172.27.80.35" -p "8000"
5.打开浏览器验证
http://172.27.80.35:8000
默认账号/密码:admin/Yearning_admin