Giter VIP home page Giter VIP logo

2021-admin-hq's Introduction

2021 Game Admin HQ

Provides the ability to monitor and change game state. The Game WebSocket Server watches game state changes. This can be used to create dramatic pauses during a demo, or restart the game.

Usage

Local Development

NOTE: Local development requires that Infinispan is started using the script(s) in the 2021-frontend-wss repository.

Local development uses a Docker container that mounts in the src/ directory.

./scripts/node.sh

Login using admin and password when the service starts running on the interface and port.

Configuration

These are defined via environment variables. The code can be found in src/config.ts.

  • NODE_ENV: dev or prod
  • LOG_LEVEL: trace, debug, or info
  • ADMIN_USERNAME: Auto generated on startup if not set. Set to admin during local development.
  • ADMIN_PASSWORD: Auto generated on startup if not set. Set to password during local development.
  • HTTP_PORT: Defaults to 3001.
  • DATAGRID_HOST: infinispan

There's very little reason to change the following from their defaults:

  • DATAGRID_GAME_DATA_STORE: game.
  • DATAGRID_PLAYER_DATA_STORE: players.
  • DATAGRID_GAME_DATA_KEY: current-game.
  • DATAGRID_HOTROD_PORT: 11222

2021-admin-hq's People

Contributors

evanshortiss 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.