# cloud-page **Repository Path**: denghufu/cloud-page ## Basic Information - **Project Name**: cloud-page - **Description**: 智慧云猎聘系统前端页面 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-08-10 - **Last Updated**: 2023-03-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #### 模板文档: [https://panjiachen.github.io/vue-element-admin-site/zh/guide/](https://panjiachen.github.io/vue-element-admin-site/zh/guide/) ## 运行前端: #### 1. 准备前端环境 首先在电脑上安装NodeJs环境(下载地址:http://nodejs.cn/download/ ),并在npm中安装淘宝镜像,在cmd中执行下面命令: ```NodeJs npm config set registry https://registry.npm.taobao.org ``` #### 2. 安装项目依赖环境 下载完之后在当前项目的目录下cmd或者Terminal中执行: ```NodeJs npm install ``` #### 3. 运行项目 在项目的根目录的cmd或Terminal中执行: ``` npm run dev ``` ## 前端部署到Nginx #### 1. 下载Nginx: http://nginx.org/en/download.html #### 2. 把前端项目进行打包 ``` npm run build:prod ``` #### 3. 然后将打包好的dist文件中的文件拷贝到Nginx下面的html对应的文件夹中(在html中新建项目文件夹,例如叫 cloud) ![1654067426099](nginx.png) 启动nignx:start nginx.exe 关闭:nginx.exe -s stop #### 4. 然后在浏览器中访问项目: http://localhost/cloud