first commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Start FastAPI backend in the background
|
||||
echo "Starting FastAPI backend..."
|
||||
uvicorn app.api:app --host 0.0.0.0 --port 8003 &
|
||||
|
||||
# Start Streamlit frontend
|
||||
echo "Starting Streamlit frontend..."
|
||||
streamlit run app/main.py --server.port 8503 --server.address 0.0.0.0
|
||||
|
||||
# Wait for any process to exit
|
||||
wait -n
|
||||
|
||||
# Exit with status of process that exited first
|
||||
exit $?
|
||||
Reference in New Issue
Block a user