Giter Club home page Giter Club logo

gateway's Introduction

Gateway

Gitter Build Status

About this Project

The Gateway is a network gateway created to provide a single access point for real-time web based protocol elevation that supports load balancing, clustering, and security management. It is designed to provide scalable and secure bidirectional event-based communication over the web; on every platform, browser, and device.

A set of client APIs are provided in the following repos.

Running via public Docker Image

  1. Edit /etc/hosts file (or equivalent) to set gateway as the Docker host. Example from /etc/hosts:

    192.168.99.100 gateway

    where the IP address is that of your Docker host.

  2. Download and run the Gateway image:

    docker run --rm -p 8000:8000 -h gateway kaazing/gateway:latest

  3. Point your browser at http://gateway:8000 to see the welcome page.

See Kaazing Gateway on Docker Hub for more information, or see below to build your own Docker container locally.

Building this Project

Requirements for building the project

  • Java 8 JDK or higher

  • Apache Maven 3.2.3 or higher, with the recommended settings:

    MAVEN_OPTS="-Xms768m -Xmx768m -XX:MaxPermSize=768m"

Steps for building this project

Before building the project please import the certificate form certificates/democa.crt to the Java keystore.

To do this you can use the provided scripts:

  • certificates\add-to-cacerts.bat for Windows
  • certificates/add-to-cacerts.sh for Mac/Linux

Please note that the scripts assume you have specified a JDK in your JAVA_HOME environment variable.

To build the Gateway locally, use:

mvn clean install

Building the Docker container locally

The Docker container is not built as part of the default build of this project. To build a Docker container locally, specify the docker profile:

mvn clean install -Pdocker

For more information, and to run the Docker container this builds, see the instructions in docker directory.

Running this Project

  1. cd distribution/target

  2. Unpack the appropriate distribution

    Mac/Linux: tar -xvf kaazing-gateway-community-develop-SNAPSHOT.tar.gz

    Windows: unzip kaazing-gateway-community-develop-SNAPSHOT.zip

  3. Start the Gateway

    Mac/Linux: ./kaazing-gateway-community-develop-SNAPSHOT/bin/gateway.start

    Windows: ./kaazing-gateway-community-develop-SNAPSHOT/bin/gateway.start.bat

Running a Prebuilt Project

You can also download and run this project from kaazing.org/download

Developing Client Applications

To learn how to develop client applications using the Gateway, see the documentation on kaazing.org.

See a Live Demo

To view demo client applications running against the Gateway, visit kaazing.org/demos.

Contact

The Gateway Gitter room is the easiest way to contact the developers who maintain the project.

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.