mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-15 14:24:39 +00:00
fff8b79a452f6d2452cf03a8bfc834c006093028
* fix: 调整登录复核工单字段 * fix: 移除创建网关的详情链接展示 * fix: 调整我发起的工单的API字段 * fix: 移除工单申请表单的非必选字段 * fix: 修正创建密码匣子时表单错误 * fix: 调整申请应用时推荐应用对应字段 * fix: 移除旧版本请求 * fix: 优化内部变量写法 * fix: 干掉旧刷新方法 * fix: 优化写法 Co-authored-by: Orange <orangemtony@gmail.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
生产中部署
下载 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
Copyright (c) 2014-2021 飞致云 FIT2CLOUD, All rights reserved.
Licensed under The GNU General Public License version 2 (GPLv2) (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
https://www.gnu.org/licenses/gpl-2.0.html
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Description
Languages
Vue
82.5%
JavaScript
14.1%
SCSS
2.3%
CSS
0.7%
Python
0.2%