|
|
7 年 前 | |
|---|---|---|
| .. | ||
| bin | 7 年 前 | |
| litemall-admin-api | 7 年 前 | |
| litemall-os-api | 7 年 前 | |
| litemall-wx-api | 7 年 前 | |
| util | 7 年 前 | |
| .gitignore | 7 年 前 | |
| README.md | 7 年 前 | |
项目进一步打包到deploy文件夹中:
使用FileZilla把deploy整个文件夹上传到云主机的/home/ubuntu文件夹中
使用PuTTY登陆云主机
运行脚本部署运行
sudo ./deploy/bin/deploy.sh
测试部署是否成功
请确保云主机的安全组已经允许相应的端口(见1.5.3.1); 然后测试是否部署成功(xxx.xxx.xxx.xxx是云主机IP):
http://xxx.xxx.xxx.xxx:8081/storage/index/index
http://xxx.xxx.xxx.xxx:8082/wx/index/index
http://xxx.xxx.xxx.xxx:8083/admin/index/index
http://xxx.xxx.xxx.xxx:8080/#/login
自动上传脚本
为了简化步骤1和步骤2,完成了util/upload.sh脚本,用户需要设置相应的云主机IP和密钥文件路径