Browse Source

更新 'README.md'

Minong 2 years ago
parent
commit
b3dd3cddf6
1 changed files with 22 additions and 3 deletions
  1. 22 3
      README.md

+ 22 - 3
README.md

@@ -1,5 +1,24 @@
 目录前deploy_server 参数
-# 基于deploy_server部署
+# 拉取代码
+```
+  git clone ssh://git@git.7in6.com:11022/Minong/edge-frame-deploy.git /www/docker
+```
+
+# 修改php源码部署目录
+```
+cd /www/docker/edge
+vim  .env
+
+```
+.env 文件
+```code
+DB_HOST=localhost
+
+APP_DIR="/www/wwwroot/vocs"  #源码目录
+docker_compose_dir="/www/docker/edge"  #docker_compose文件所在目录
+```
+# 二、部署(二选一)
+## 2.1基于deploy_server部署
 ```shell
   -Broker string
         input Broker default:0.0.0.0:9092 (default "0.0.0.0:9092")
@@ -12,11 +31,11 @@
 
 执行
 ```shell
-    git clone ssh://git@git.7in6.com:11022/Minong/edge-frame-deploy.git /www/docker
+   
     chmod +x deploy_server
   ./deploy_server -Dir ./edge/ -key 123
 ```
-# 基于deploy.sh 部署
+## 2.2 基于deploy.sh 部署
 ```
 chmod +x deploy.sh
 ./deploy.sh