完善部署说明

feat/task1-c-wallet
Alan Zhang 2020-04-25 14:19:47 +08:00
parent 058388d573
commit 2cd6da46b7
1 changed files with 4 additions and 2 deletions

View File

@ -13,10 +13,12 @@
3. 克隆代码并且修改shopxo文件夹权限
- git clone git@github.com:gongfuxiang/shopxo.git
- sudo chmod -R 777 shopxo
- sudo chmod -R 777 shopxo
4. 用docker-compose 运行项目包括数据库,如果不想用容器里面的数据库可以单独配置数据库
- cd shopxo
- docker-compose up
- 访问 localhost:10000
5. 如果使用容器里面的数据库,可以将数据库的地址设置为容器名称 利用docker网络访问数据库
5.