Skip to main content

Relay Sim code released on GitHub

·134 words·1 min

I’ve finally worked my coded into a state where I think it’s ready for it’s first BETA release. It can be found here:

Repository: https://github.com/pjchick/Relay-Simulator

Issues: https://github.com/pjchick/Relay-Simulator/issues

I am not a great coder and have been learning as I go with this project so any help, assistance or pointers greatly received!

Prerequisites
#

  • Python 3.10 or higher
  • Git

Installation
#

  1. Clone the repository:

    git clone https://github.com/pjchick/Relay-Simulator-III.git
    cd "Relay Simulator"
  2. Create a virtual environment (recommended):

    python -m venv .venv
  3. Activate the virtual environment:

    Windows (PowerShell):

    .venv\Scripts\Activate.ps1

    Windows (Command Prompt):

    .venv\Scripts\activate.bat

    Linux/macOS:

    source .venv/bin/activate
  4. Install dependencies:

    pip install -r relay_simulator/requirements.txt

Running the Application
#

GUI Designer Mode:

python relay_simulator/app.py

Building Standalone Executable
#

To create a standalone Windows executable:

python build_exe.py

The executable will be created in dist/RelaySimulator.exe

See BUILD_INSTRUCTIONS.md in the repo for more details.