File size: 413 Bytes
b0fab0f
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
# Startup script for the floor visualizer backend.
# Run once after cloning the repo on the server.

set -e

echo "==> Installing dependencies..."
pip install --no-cache-dir -r requirements-gpu-cu126.txt

echo "==> Creating data directories..."
mkdir -p data/uploads data/jobs

echo "==> Starting server..."
VISUALIZER_CONFIG=visualizer.gpu.toml uvicorn app:app --host 0.0.0.0 --port 8002 --workers 1