Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Latest commit

 

History

History
54 lines (36 loc) · 983 Bytes

README.md

File metadata and controls

54 lines (36 loc) · 983 Bytes

HyperXite 8 Control System

The control system consists of the pod control backend and control station client.

First-Time Setup

This project combines a React frontend with a Python backend.

React Frontend

  1. Install dependencies
    cd control-station
    npm ci

Python Backend

  1. Create a virtual environment

    python3 -m venv .venv --prompt hx8-control-system
  2. Activate virtual environment

    VS Code may prompt to automatically select the newly created virtual environment. Otherwise, run

    source .venv/bin/activate
  3. Install dependencies

    pip install -r requirements.txt -r requirements-dev.txt

Running Development Environment

Run the React development server

cd control-station
npm run dev

Run the Python backend

cd pod-control
python3 src/main.py

Open http://localhost:3000 with your browser to see the result.