This document guides you through the installation and execution of the first demonstrator (Python-based), second demonstrator (Rust-based), and the web application for EEG visualization.
These instructions are validated for Windows 10. For Linux or macOS, some commands may differ slightly.
- Navigate to the
first_demodirectory:
cd ./first_demo- Create a Python virtual environment:
python -m venv .venv- Activate the virtual environment:
- CMD:
.venv\Scripts\activate.bat- PowerShell:
.venv\Scripts\Activate.ps1- Linux/macOS:
source .venv/bin/activate(In VSCode with Python support, the active environment is shown in the status bar at the bottom right.)
- Install dependencies:
pip install -r requirements.txt- Go to the END_V1 Tag (Optional)
To view the first demonstrator in its final state before any bug fixes or modifications for the second demonstrator, refer to the END_V1 tag.
git checkout tags/END_V1Execute the demonstrator using FastAPI's development server:
fastapi dev main.py- Rust must be installed. Download and install from rust-lang.org.
- Navigate to the
second_demodirectory:
cd ./second_demo- Run the demonstrator:
cargo run- NodeJS must be installed. Download from nodejs.org.
- Navigate to the
clientdirectory:
cd ./client- Install packages:
npm install- Launch the web application:
npm run dev