Lina 是 JumpServer 的前端 UI 项目
Go to file
2025-04-09 15:50:01 +08:00
.github Create llm-code-review.yml 2024-12-09 16:20:12 +08:00
build perf: 修改 console.log() 语句为 debug() 标识 (#1749) 2022-05-17 15:16:33 +08:00
mock perf: 修改 console.log() 语句为 debug() 标识 (#1749) 2022-05-17 15:16:33 +08:00
public perf: update loading spinner 2025-03-18 11:24:57 +08:00
src Fixed: startup error 2025-04-09 15:50:01 +08:00
tests/unit perf: 修改一些组件路径,原来的太难找了 2023-07-31 14:45:27 +08:00
utils fix: 修正版本获取不正确 2023-02-28 16:36:48 +08:00
.dockerignore perf: 优化代码,搜索 (#1080) 2021-09-27 14:29:37 +08:00
.editorconfig feat: 添加 i18n 自动 diff 和 update 工具 (i18n-util.py) 2023-02-06 15:09:18 +08:00
.env.development.example perf: kael migrated koko 2024-04-25 18:38:56 +08:00
.env.production feat: 修改base api 2020-06-09 16:48:12 +08:00
.env.staging [release]4.1.0 (#211) 2019-04-19 20:41:52 +08:00
.eslintignore [fix]更新路由权限,更新eslint Ignore 2020-06-22 16:15:56 +08:00
.eslintrc.js [Update] 去掉i18n检查 2020-05-13 17:47:23 +08:00
.gitignore feat: add xpack lock feat 2025-02-05 16:34:17 +08:00
.gitmodules Removed submodule 2020-09-15 16:26:11 +08:00
.travis.yml chore: set ci node version 2019-04-26 17:58:55 +08:00
alias.config.js [update]增加treeTable表格同步,修改Tree样式 2020-04-13 01:56:35 +08:00
babel.config.js perf: 优化 csv/xlsx 导入 (#725) 2021-04-08 10:09:58 +08:00
Dockerfile perf: Added cloud sync global released asset tab (#4929) 2025-04-08 18:27:02 +08:00
Dockerfile-base perf: change base image 2024-07-23 16:52:36 +08:00
jest.config.js [release]4.1.0 (#211) 2019-04-19 20:41:52 +08:00
jsconfig.json perf: some feat free 2025-02-06 12:48:16 +08:00
LICENSE feat: 修改LICENSE 2021-12-06 18:03:36 +08:00
nginx.conf perf: 优化编译命令 2021-03-29 19:29:06 +08:00
package.json perf: change support email (#4933) 2025-04-08 13:22:38 +08:00
postcss.config.js refactor[chore]: generate postcss.config.js instead of .postcssrc.js 2019-05-24 16:58:40 +08:00
README.md Update README.md 2022-04-01 15:24:09 +08:00
vue.config.js merge: with dev 2025-02-21 15:13:54 +08:00
yarn.lock perf: applet card list 2025-03-28 10:11:31 +08:00

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;
  }
}

致谢

Be consistent with jumpserver