diff --git a/README.en.md b/README.en.md index 8818882..68a82a4 100644 --- a/README.en.md +++ b/README.en.md @@ -91,8 +91,10 @@ A basic solution for middle and background management system, based on vue3, typ ```bash # config -1. Install the 'ESLint' plugin -2. Install the 'Volar' plugin +1. Install the 'eslint' plugin +2. Install the 'volar' plugin +3. node v16.x +4. pnpm v6.x # clone the project git clone https://github.com/un-pany/v3-admin.git diff --git a/README.md b/README.md index 4f7ffee..393bfac 100755 --- a/README.md +++ b/README.md @@ -95,8 +95,10 @@ ```bash # 配置 -1. 安装 ESLint 插件 -2. 安装 Volar 插件 +1. 安装 eslint 插件 +2. 安装 volar 插件 +3. node v16.x +4. pnpm v6.x # 克隆项目 git clone https://github.com/un-pany/v3-admin.git diff --git a/deploy/index.js b/deploy/index.js index d7dd197..0837bb4 100644 --- a/deploy/index.js +++ b/deploy/index.js @@ -6,7 +6,7 @@ */ 'use strict' -const scpClient = require('scp2') // 引入scp2 +const scpClient = require('scp2') // 引入 scp2 const ora = require('ora') const chalk = require('chalk') const spinner = ora('正在发布到服务器...') @@ -15,8 +15,8 @@ const Client = require('ssh2').Client const conn = new Client() const server = { - host: '', // 服务器的IP地址 - port: '22', // 服务器端口, 一般为22 + host: '', // 服务器的 ip 地址 + port: '22', // 服务器端口, 一般为 22 username: 'root', // 用户名 password: '', // 密码 path: '/var/www/html/', // 项目部署的服务器目标位置