From e6df12a6d55cccd6afd2a4f36393ef63824dd42e Mon Sep 17 00:00:00 2001 From: jmal Date: Wed, 1 Apr 2020 16:14:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 37 ++++++++++++++----------------------- 1 file changed, 14 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 7ccab8a..9a2bb20 100644 --- a/README.md +++ b/README.md @@ -1,55 +1,46 @@ # jmal-cloud-view -netdisk server +网盘前端界面 -based on [vue-admin-template](https://github.com/PanJiaChen/vue-admin-template) +基于 [vue-admin-template](https://github.com/PanJiaChen/vue-admin-template) -## Setup +## 开始 -### 1.run nginx server and need to be install nginx plugin of [mod_zip](https://github.com/evanmiller/mod_zip) +### 1.运行nginx服务器,需要安装[mod_zip](https://github.com/evanmiller/mod_zip) 的nginx插件 -view [nignx.conf](https://github.com/jamebal/jmal-cloud-server/blob/master/src/main/resources/nginx.conf) +nginx配置 [nignx.conf](https://github.com/jamebal/jmal-cloud-server/blob/master/src/main/resources/nginx.conf) -### 2.run web server (view[jmal-cloud-server](https://github.com/jamebal/jmal-cloud-server)) +### 2.运行web服务器 [jmal-cloud-server](https://github.com/jamebal/jmal-cloud-server) ```bash -# clone the jmal-cloud-sever git clone https://github.com/jamebal/jmal-cloud-server.git -cd jmal-cloud-server -# run server -run java-server +# 启动该java服务 ``` -### 3.setup the proejct +### 3.启动前端服务(开发模式) ```bash -# clone the project git clone https://github.com/jamebal/jmal-cloud-view.git -# enter the project directory cd jmal-cloud-view -# install dependency npm install -# develop npm run dev ``` +然后打开 http://localhost:9528 -### 4. Build +### 4. 构建 ```bash -# build for test environment +# 为测试环境构建 npm run build:stage -# build for production environment +# 为生产环境构建 npm run build:prod ``` +构建后按照nginx配置即可 -This will automatically open http://localhost:9528 - -## Browsers support - -Modern browsers and Internet Explorer 10+. +## 浏览器支持 | [IE / Edge](http://godban.github.io/browsers-support-badges/)
IE / Edge | [Firefox](http://godban.github.io/browsers-support-badges/)
Firefox | [Chrome](http://godban.github.io/browsers-support-badges/)
Chrome | [Safari](http://godban.github.io/browsers-support-badges/)
Safari | | --------- | --------- | --------- | --------- |