GithubHelp home page GithubHelp logo

stevenqin97 / lina Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jumpserver/lina

0.0 1.0 0.0 8.12 MB

Lina 是 JumpServer 的前端 UI 项目

License: GNU General Public License v3.0

JavaScript 14.68% HTML 0.10% Vue 80.56% CSS 0.66% Shell 0.08% Dockerfile 0.05% Python 0.09% Less 0.03% SCSS 3.76%

lina's Introduction

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

致谢

License & Copyright

Be consistent with jumpserver

lina's People

Contributors

ibuler avatar orangemio avatar baijiangjie avatar jym503558564 avatar panjiachen avatar huailei000 avatar fit2bot avatar feng626 avatar leeeirc avatar xuxinwen avatar o-jiangweidong avatar dependabot[bot] avatar halo1236 avatar armour avatar wojiushixiaobai avatar jianjian01 avatar cx2c avatar canghai908 avatar liubof2c avatar lisgroup avatar chenqiao666 avatar xiaohp avatar stephycat avatar plasusu avatar decentralized-fi avatar icrotz avatar chaslui avatar liuruibin avatar blony avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.