dependabot[bot] d252c7dd08 build(deps): bump @babel/traverse from 7.20.1 to 7.23.2
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.20.1 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 10:38:38 +08:00
2023-10-25 16:38:41 +08:00
2023-02-28 16:36:48 +08:00
2020-06-09 16:48:12 +08:00
2020-05-13 17:47:23 +08:00
2023-02-06 16:30:34 +08:00
2020-09-15 16:26:11 +08:00
2019-04-26 17:58:55 +08:00
2023-10-25 16:38:41 +08:00
2021-12-06 18:03:36 +08:00
2021-03-29 19:29:06 +08:00
2022-04-01 15:24:09 +08:00
2023-09-13 19:30:10 +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

Description
Lina 是 JumpServer 的前端 UI 项目
Readme GPL-3.0 65 MiB
Languages
Vue 82.5%
JavaScript 14.1%
SCSS 2.3%
CSS 0.7%
Python 0.2%