Signia runs on Python 3.11 and Django 5.2. This guide walks you from a fresh clone to a working local instance as quickly as possible. For development you only need SQLite — no external database is required. You will need a Groq API key if you want the LSC grammar layer to reorder signs, and valid email credentials if you want OTP verification to work, but neither is required for the server to start.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/jtapieromalambo-ctrl/Signia/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before you begin, make sure the following are available on your machine:- Python 3.11 — python.org/downloads
- pip 23+ — bundled with Python 3.11
- Git — git-scm.com
On Windows you do not need to install ffmpeg globally. The repository ships bundled ffmpeg binaries in the
/ffmpeg/ directory, and the traduccion module adds that directory to PATH at runtime automatically.Steps
Create a virtual environment and install dependencies
Create and activate a virtual environment named Linux / macOSThe install pulls in Django 5.2, faster-whisper, mediapipe, scikit-learn, groq, django-allauth, and all other required packages. This step may take a few minutes on first run.
ENT, then install all Python dependencies:Windows (PowerShell)Create the .env file
Create a Generate a secure To enable optional features, add the corresponding keys to your
.env file at the project root — the same directory as manage.py. For a minimal local setup that uses SQLite, you only need two variables:SECRET_KEY with:.env:DATABASE_URL can be omitted entirely for local development. Django will automatically fall back to an SQLite file at db.sqlite3 in the project root.Run database migrations
Apply all Django migrations to create the SQLite database and schema:You should see output confirming that each migration was applied successfully.
Start the development server
With the virtual environment active and You should see output similar to:
.env in place, start Django’s built-in development server:Visit the app
Open your browser and navigate to http://127.0.0.1:8000. The table below lists all key routes:
Log in with the superuser credentials you created in the previous step to access
| Route | Description |
|---|---|
/ | Home page |
/login/ | Email-based login |
/registro/ | New user registration |
/traductor/ | Text and audio → LSC sign videos |
/reconocimientos/camara/ | Webcam sign → text recognition |
/admin-videos/ | Admin video panel (superuser only) |
/admin-videos/ and manage the sign video library.Next steps
The webcam sign recognition module at
/reconocimientos/camara/ requires a trained RandomForest model (reconocimientos/modelo/model_seq.pkl) to be present. Without it, the recognition endpoint returns a 503 error. To generate the model, log in as a superuser, upload sign videos from the admin panel at /admin-videos/, and click “Entrenar modelo”. Training runs in a background thread and can take several minutes depending on the number of videos.- Installation — Full installation guide including system dependencies, PostgreSQL setup, and static file collection.
- Text to Signs — How the Whisper + Groq + video lookup pipeline works.
- Sign Recognition — MediaPipe landmarks, model training, and the thread-safe detector setup.
- User Accounts — OTP verification, OAuth configuration, and the disability routing flow.