diff --git a/server.sh b/server.sh index ce16706..29c636f 100644 --- a/server.sh +++ b/server.sh @@ -3,9 +3,5 @@ # 下载依赖包 npm install -# 拉取代码 -cd / -git clone http://192.168.1.253:9130/amuliang/music-downloader.git - # 运行服务器端 node /music-downloader/app/main.js \ No newline at end of file diff --git a/start.sh b/start.sh index c36c32d..f5722f8 100644 --- a/start.sh +++ b/start.sh @@ -1,5 +1,10 @@ #!/bin/bash +# 拉取代码 +cd / +git clone http://192.168.1.253:9130/amuliang/music-downloader.git + +# 运行服务 ./server.sh & ./start.sh &