Giter Club home page Giter Club logo

rgs's Introduction

RGS

The RGS repository contains the main infrastructure for the uORocketry Ground Station.

About the infrastructure

The infrastructure is composed of the following components:

Database

We are using a TimescaleDB instance for the database. The database schema is defined using the Drizzle ORM and we also use Hasura to expose a GraphQL API for consuming the data.

Providers

The providers are the components that receive data from an external source (eg: The rocket or a sensor) and broadcast it to the rest of the infrastructure.

These are the hydra_provider, which receives data from the Hydra rocket and the labjack_provider, which receives data from the labjack sensors.

Frontends

The frontends are the components that allow the user to interact with the infrastructure. At the moment only being the web frontend.

How to run

There are a few things of interest that you might want to have running on your machine:

  • Docker + Docker Compose
  • The backend Database/Hasura instance which can be run with docker-compose up
  • The web frontend application. See its README for more information.
  • The hydra_provider project which can provide usefull serial/development-random-data for the web frontend. See its README for more information.
  • Labjack Provider has not been implemented yet.

Running with PM2

In addition, you can use PM2 as a process manager to run the stack. This is useful for running the ground station in case a process crashes.

  • Run pm2 start to start the processes defined in the ecosystem file.
  • See PM2 Quick Start for more information.

Note: For development purposes hydra_provider isn't included in the pm2 ecosystem file. Check its README for more information on how to run it.

Troubleshooting

Please refer to each of the following for more information.

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.