jmalcloud-view/README.md
2021-01-27 16:18:56 +08:00

68 lines
2.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### 线上预览地址: https://www.jmal.top , 用户名:amdin,密码:jmalcloud
部分截图:
![image](https://www.jmal.top/api/file/admin/%E6%88%AA%E5%B1%8F%20133.png.webp)
# jmal-cloud-view
网盘前端界面
基于 [vue-admin-template](https://github.com/PanJiaChen/vue-admin-template)
## 开始
### 1.运行nginx服务器,需要安装[mod_zip](https://github.com/evanmiller/mod_zip) 的nginx插件
nginx配置 [nignx.conf](https://github.com/jamebal/jmal-cloud-server/blob/master/src/main/resources/nginx.conf)
### 2.运行web服务器 [jmal-cloud-server](https://github.com/jamebal/jmal-cloud-server)
下载最新的 [clouddisk-x.x.x-exec.jar](https://github.com/jamebal/jmal-cloud-server/releases)
启动(需要提前安装jdk环境)
```bash
java -jar clouddisk-1.0-exec.jar --file.rrootDir=/home/jmal/file/
# file.rrootDir表示文件保存的目录
```
或者克隆下来自己编译
```bash
git clone https://github.com/jamebal/jmal-cloud-server.git
```
### 3. 配置前端界面
#### 开发模式
```bash
git clone https://github.com/jamebal/jmal-cloud-view.git
cd jmal-cloud-view
npm install
npm run dev
```
然后打开 http://localhost:9528
#### 或者构建
```bash
# 为生产环境构建
npm run build:prod
```
将生成的dist目录配置到[nginx](https://github.com/jamebal/jmal-cloud-server/blob/master/src/main/resources/nginx.conf)中
也可在[这里](https://github.com/jamebal/jmal-cloud-server/releases)下载最新的 dist目录
然后访问 http://localhost 即可
## 浏览器支持
| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>IE / Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Safari |
| --------- | --------- | --------- | --------- |
| IE10, IE11, Edge| last 2 versions| last 2 versions| last 2 versions
## License
[MIT](https://github.com/jamebal/jmal-cloud-view/blob/master/LICENSE) license.
Copyright (c) 2020-present jmal