Giter Site home page Giter Site logo

gateway_admin_ui's Introduction

Gateway Admin UI

Gateway 可视化管理界面

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

For a detailed explanation on how things work, check out the guide and docs for vue-loader.

基本使用方法

Gateway 后端核心服务请查阅 fagongzi/gateway

Admin UI 由唱道技术团队开发、整理(VUE、Element、VUErouter、axios组件开发完成)

一、部署docker以及Gateway镜像

Gateway的镜像(核心后端服务)采用的是https://github.com/fagongzi/gateway,使用 docker pull fagongzi/gateway 命令下载Docker镜像,使用 docker run -d -p 0.0.0.0:80:80 -p 9093:9093 fagongzi/gateway 运行镜像。

Gateway的镜像运行后,会启动两个端口80、9093

80端口:Proxy的http端口,这个端口就是直接为终端用户服务的

9093端口:APIServer的对外GRPC的端口,即为Admin UI服务的,需要在Nginx代理进行相关转发配置

二、部署Admin UI、Nginx代理

dist目录为最新编译后的项目,直接通过Nginx代理、绑定即可。

server{
     listen 3000;#Admin UI端口
     server_name localhost;
     root /Volumes/Data/gitlab/changdao_go_gateway/src/web/dist;#dist目录

     location /Web/ {#必须为Web
          proxy_pass http://localhost:9093/;#转发至Gateway 9093端口
     }
}

三、访问Admin UI

根据自己配置的Admin UI端口,访问即可,例如localhost:3000

gateway_admin_ui's People

Contributors

changdaoteam avatar armcnc avatar

Watchers

James Cloos avatar  avatar  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.