mirror of
https://github.com/MCSManager/MCSManager.git
synced 2024-11-27 06:59:54 +08:00
Install Script Clone-Part Simplify
This commit is contained in:
parent
6564cb2a8e
commit
2067861fbc
@ -78,18 +78,14 @@ mkdir /opt/mcsmanager/
|
||||
cd /opt/mcsmanager/
|
||||
|
||||
# Download the web project
|
||||
git clone https://github.com/MCSManager/MCSManager-Web-Production.git
|
||||
# Rename and enter the directory
|
||||
mv MCSManager-Web-Production web
|
||||
git clone https://github.com/MCSManager/MCSManager-Web-Production.git web
|
||||
cd web
|
||||
# Install dependencies
|
||||
npm install --production
|
||||
cd /opt/mcsmanager/
|
||||
|
||||
# Download the Daemon
|
||||
git clone https://github.com/MCSManager/MCSManager-Daemon-Production.git
|
||||
# Rename and enter the directory
|
||||
mv MCSManager-Daemon-Production daemon
|
||||
git clone https://github.com/MCSManager/MCSManager-Daemon-Production.git daemon
|
||||
cd daemon
|
||||
# Install dependencies
|
||||
npm install --production
|
||||
|
@ -111,18 +111,14 @@ mkdir /opt/mcsmanager/
|
||||
cd /opt/mcsmanager/
|
||||
|
||||
# 下载面板端(Web)程序
|
||||
git clone https://github.com/MCSManager/MCSManager-Web-Production.git
|
||||
# 重命名文件夹并进入
|
||||
mv MCSManager-Web-Production web
|
||||
git clone https://github.com/MCSManager/MCSManager-Web-Production.git web
|
||||
cd web
|
||||
# 安装依赖库
|
||||
npm install --production --registry=https://registry.npmmirror.com/
|
||||
cd /opt/mcsmanager/
|
||||
|
||||
# 下载守护进程(Daemon)程序
|
||||
git clone https://github.com/MCSManager/MCSManager-Daemon-Production.git
|
||||
# 重命名文件夹并进入
|
||||
mv MCSManager-Daemon-Production daemon
|
||||
git clone https://github.com/MCSManager/MCSManager-Daemon-Production.git daemon
|
||||
cd daemon
|
||||
# 安装依赖库
|
||||
npm install --production --registry=https://registry.npmmirror.com/
|
||||
|
Loading…
Reference in New Issue
Block a user