From 2067861fbc946c896c11a0e49c40c357ebd3d3c4 Mon Sep 17 00:00:00 2001 From: YaoSiQian <2229561981@qq.com> Date: Thu, 19 Jan 2023 23:42:03 +0800 Subject: [PATCH] Install Script Clone-Part Simplify --- README.md | 8 ++------ README_CN.md | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index ca60a78f..20b97024 100755 --- a/README.md +++ b/README.md @@ -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 diff --git a/README_CN.md b/README_CN.md index 9890e8e0..d049a2a2 100644 --- a/README_CN.md +++ b/README_CN.md @@ -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/