mirror of
https://github.com/jumpserver/lina.git
synced 2026-05-17 04:47:38 +00:00
6239fcced5366cccd83e8ffcd081ce6c5c67f25f
Bumps [ip-address](https://github.com/beaugunderson/ip-address) from 10.0.1 to 10.2.0. - [Commits](https://github.com/beaugunderson/ip-address/commits) --- updated-dependencies: - dependency-name: ip-address dependency-version: 10.2.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Lina
Lina 是 JumpServer 的前端 UI 项目, 主要使用 Vue, Element UI 完成, 名字来源于 Dota 英雄 Lina
开发运行
0. 前置条件: 部署运行好 JumpServer API 服务器
1. 安装依赖
$ yarn install
2. 修改 .env.development VUE_APP_CORE_HOST
# ...
VUE_APP_CORE_HOST = 'JUMPSERVER_APIHOST'
3. 运行
$ yarn serve
4. 构建
$ 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 前端框架
- Element UI 饿了么 UI组件库
- Vue-element-admin 项目脚手架
License & Copyright
Be consistent with jumpserver
Description
Languages
Vue
82.4%
JavaScript
14.2%
SCSS
2.3%
CSS
0.7%
Python
0.2%