Set up & run locally
Prepare a virtual environment, install dependencies, and launch both servers for a complete console + API experience.
- Install Python 3.11+ plus system build tools.
- Create a virtual environment and install
requirements.txt. - Start the services with
python run.py.
python -m venv .venv
. .venv/Scripts/activate # PowerShell: .\\.venv\\Scripts\\Activate.ps1
pip install -r requirements.txt
# Run both API and UI (Development)
python run.py
# Run in Production (Waitress server)
python run.py --prod
# Or run individually
python run.py --mode api
python run.py --mode ui
Configuration
Configuration defaults live in app/config.py. You can override them using environment variables. This is critical for production deployments behind proxies.
| Variable | Default | Description |
|---|---|---|
API_BASE_URL |
http://127.0.0.1:5000 |
The public URL of the API. Required if running behind a proxy or if the UI and API are on different domains. Ensures presigned URLs are generated correctly. |
STORAGE_ROOT |
./data |
Directory for buckets and objects. |
MAX_UPLOAD_SIZE |
5 GB |
Max request body size. |
SECRET_KEY |
(Random) | Flask session key. Set this in production. |
APP_HOST |
0.0.0.0 |
Bind interface. |
APP_PORT |
5000 |
Listen port. |