From 86c357b8ec0c2c18368b0f76267895608247f8b4 Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期一, 04 九月 2023 09:00:30 +0800 Subject: [PATCH] 新项目 --- README.md | 28 +++++++++++++++++++++++++++- 1 files changed, 27 insertions(+), 1 deletions(-) diff --git a/README.md b/README.md index adc2b45..00c0ab8 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,30 @@ -## registerSystem +## 开发 +```bash +# 克隆项目 +git clone https://gitee.com/y_project/RuoYi-Vue +# 进入项目目录 +cd ruoyi-ui +# 安装依赖 +npm install + +# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题 +npm install --registry=https://registry.npmmirror.com + +# 启动服务 +npm run dev +``` + +浏览器访问 http://localhost:80 + +## 发布 + +```bash +# 构建测试环境 +npm run build:stage + +# 构建生产环境 +npm run build:prod +``` \ No newline at end of file -- Gitblit v1.9.2