MOD / start.sh
Muhammad Usman
fixed port issue
90394bc
raw
history blame contribute delete
419 Bytes
#!/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-linux-cpu.txt
echo "==> Creating data directories..."
mkdir -p data/uploads data/jobs
echo "==> Starting server..."
VISUALIZER_CONFIG=visualizer.segformer.toml uvicorn app:app --host 0.0.0.0 --port 7860 --workers 1