19 lines
432 B
Bash
Raw Normal View History

2025-11-09 23:29:07 +01:00
#!/bin/bash
echo "Starting RBox development server..."
if [ ! -f .env ]; then
echo "Creating .env file from .env.example..."
cp .env.example .env
echo "Please edit .env with your configuration"
fi
echo "Starting database services..."
2025-11-10 00:28:48 +01:00
docker compose up -d db redis
2025-11-09 23:29:07 +01:00
echo "Waiting for database to be ready..."
sleep 5
echo "Starting application..."
poetry run uvicorn rbox.main:app --reload --host 0.0.0.0 --port 8000