README.md

resk

此项目copy from https://git.imooc.com/coding-345/resk-files/src/master/resk-8.zip

1、运行环境:centos7, ip: 192.168.170.20

2、数据库版本:mysql8.0, ip: 192.168.170.21

3、需要安装redis, ip: 192.168.170.20

4、配置好golang代理

5、安装依赖:

cd go-redpackage; go mod tidy

6、数据库授权

CREATE USER red@'192.168.170.20' IDENTIFIED WITH mysql_native_password BY 'xs12SW<m';
GRANT all ON po.* TO red@'192.168.170.20' with grant option;
FLUSH PRIVILEGES;

7、导入表结构:

cd brun; mysql < brun/20191112.sql

8、编译:

cd brun; bash build.sh

9、启动:

cd brun; ./reskd_linux_amd64

10、页面访问:http://192.168.170.20:18080/ 使用手机模式

11、示例登录:18811112222 andy

修改记录

20191127 修改此项目