https://github.com/jumpserver/lina
Lina is the JumpServer Web UI
https://github.com/jumpserver/lina
element-ui jumpserver vue
Last synced: 5 months ago
JSON representation
Lina is the JumpServer Web UI
- Host: GitHub
- URL: https://github.com/jumpserver/lina
- Owner: jumpserver
- License: gpl-3.0
- Created: 2020-03-19T16:44:39.000Z (over 5 years ago)
- Default Branch: dev
- Last Pushed: 2025-05-12T08:14:23.000Z (5 months ago)
- Last Synced: 2025-05-12T08:48:38.821Z (5 months ago)
- Topics: element-ui, jumpserver, vue
- Language: Vue
- Homepage:
- Size: 21.4 MB
- Stars: 219
- Watchers: 16
- Forks: 119
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lina
Lina 是 JumpServer 的前端 UI 项目, 主要使用 [Vue](https://cn.vuejs.org/), [Element UI](https://element.eleme.cn/) 完成,
名字来源于 Dota 英雄 [Lina](https://baike.baidu.com/item/%E8%8E%89%E5%A8%9C/16693979)## 开发运行
```
0. 前置条件: 部署运行好 JumpServer API 服务器1. 安装依赖
$ yarn install2. 修改 .env.development VUE_APP_CORE_HOST
# ...
VUE_APP_CORE_HOST = 'JUMPSERVER_APIHOST'3. 运行
$ yarn serve4. 构建
$ yarn build:prod
```## 生产中部署
下载 RELEASE 文件,放到合适的目录,修改 nginx配置文件如下
```
server {
listen 80;location /ui/ {
try_files $uri / /ui/index.html;
alias /opt/lina/;
}location / {
rewrite ^/(.*)$ /ui/$1 last;
}
}
```## 致谢
- [Vue](https://cn.vuejs.org) 前端框架
- [Element UI](https://element.eleme.cn/) 饿了么 UI组件库
- [Vue-element-admin](https://github.com/PanJiaChen/vue-element-admin) 项目脚手架## License & Copyright
Be consistent with [jumpserver](https://github.com/jumpserver/jumpserver)