Giter VIP home page Giter VIP logo

local-interface's Introduction

Local Interface

Table of Contents

About

Local Interface for simulation definition, management, and analysis. Local Interface is a part of the Agents Assembly ecosystem. Other applications are:

aasm_vis

Getting Started

Prerequisites

docker
docker-compose (dev only)

Installing

To use the application, utilize the server.sh script.
First, initialize the cluster:

./server.sh init

Alternatively, join the existing cluster using the TOKEN received from the init command:

./server.sh join TOKEN

Then, create the required networks (this step needs to be done only once inside the cluster):

./server.sh network

Finally, start the application:

./server.sh start

After starting, the application is available at http://localhost:80.

To see all the available options run the help command:

./server.sh help

Usage

The application must be used with the dedicated simulation run environment, described in About

Structure

The structure of the local interface is presented below.

User interface

React.js app used as GUI. It handles user interaction with the system.

Docker Hub

Environment variables:

  • CHOKIDAR_USEPOLLING - reload application after detecting a change in source files (i.e., true); if set to true, it requires the following volume attached: user-interface/src:/app/src
  • PORT - listen port (must be 80)

Proxy

Nginx instance that provides a gateway to the Simulation Run Environment.

Docker Hub

Host port mapping:

  • port 80 - access to user interface and simulation run environment API (/api)

Host port mapping (dev only):

  • port 8008 - simulation run environment database connection (neo4j)

Contributing

Please follow the contributing guide if you wish to contribute to the project.

local-interface's People

Contributors

rachwalk avatar madpeh 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.