Install Guide

This document explains how to install and prepare StableSteering on Windows for local development or evaluation.

Published HTML documentation:

Recommended reading before installation:

Requirements

For the real generation backend you also need:

Fastest Setup

From the repository root run:

powershell -ExecutionPolicy Bypass -File scripts/bootstrap.ps1

This will:

Manual Setup

1. Create and activate a virtual environment

python -m venv .venv
.venv\Scripts\Activate.ps1

2. Install Python dependencies

Development dependencies:

python -m pip install --upgrade pip
python -m pip install -e .[dev]

Real inference dependencies:

python -m pip install -e .[dev,inference]

3. Install browser test dependencies

npm install

Prepare Model Assets

If you want to run the real Diffusers backend:

python scripts/setup_huggingface.py

The prepared model snapshot is stored under models/.

Run the App

python scripts/run_dev.py

Open:

http://127.0.0.1:8000

Useful runtime pages:

Run the Tests

Backend tests:

python -m pytest

Default browser suite:

npm run test:e2e:chrome

Headed browser debug run:

npm run test:e2e:debug

Opt-in real-backend browser smoke:

$env:STABLE_STEERING_E2E_REAL="true"
npm run test:e2e:real

Common Notes