DEMO应用环境准备
开源地址
https://github.com/shulieTech/EasyDemo
下载demo
进入应用服务器,准备DEMO应用:
curl -O https://install-pkg.oss-cn-hangzhou.aliyuncs.com/demo/easydemo_0712.tgz
解压:
tar xvf easydemo_0712.tgz
配置更新
easydemo-gateway
app/gateway/application.properties
无需更改
easydemo-usercenter
app/user/application.properties
无需更改
更新数据库配置
在demoEnv.conf
里更新配置
配置demo应用的数据库连接
将demoEnv.conf
里的数据库相关配置更改为您的数据源地址
MYSQLURL=192.168.1.173
PORT=3306
USERNAME=root
PASSWD=shulie@2020
启动demo
./demoInstall.sh
如果这里报错 line 5:create_table_sql:no such file or directory
是因为这个脚本里有mysql命令去创建表,所以要么本机装个mysql客户端,要么修改一下脚本,只启动应用,单独去mysql那边建下表
文档更新时间: 2021-09-24 16:08 作者:ShuLieVip