1、搭建测试环境 1、申请服务器 2、安装依赖的软件 jdk1.8、mysql、redis、tomcat等等 3、获取代码,修改配置文件,(编译、打包) 4、导入基础数据(建表、导入数据) 5、代码放到服务器上,启动
2、日常部署 1、拉取最新代码,修改配置文件,(编译、打包) 2、如果有变动的sql,执行 3、服务器上代码替换成最新的,重启