File size: 366 Bytes
d8bbcde
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

# Install dependencies
pip install -r requirements.txt

# Run Django migrations
python django_project/manage.py migrate

# Run FastAPI backend
uvicorn backend.fastapi_app:app --host 0.0.0.0 --port 8000 &

# Run Gradio interface
python frontend/gradio_interface.py &

# Run Django admin interface
python django_project/manage.py runserver 0.0.0.0:8001 &