File size: 409 Bytes
851e5ba
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Make sure pwd ends with backend
if [ "$(basename "$PWD")" != "backend" ]; then
  echo "Error: Please run this script from the backend directory"
  exit 1
fi

# Make sure .venv exists
if [ ! -d ".venv" ]; then
  echo "Error: .venv directory not found"
  exit 1
fi

# Activate the virtual environment
source .venv/bin/activate

# Start the application
uvicorn src.main:app --host 0.0.0.0 --port 8000 --reload