mgbam commited on
Commit
b3f2b26
·
verified ·
1 Parent(s): 3fb4ddd

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +6 -5
start.sh CHANGED
@@ -1,13 +1,14 @@
1
  #!/bin/bash
 
2
 
3
  # Start Redis
4
  redis-server &
5
 
6
- # Start FastAPI
7
- uvicorn app.main:app --host 0.0.0.0 --port 7860 &
8
-
9
- # Start Celery (from correct path)
10
  celery -A celery_worker worker --loglevel=info &
11
 
12
- # Start Streamlit
 
 
 
13
  streamlit run app.py --server.port 7861
 
1
  #!/bin/bash
2
+ set -e
3
 
4
  # Start Redis
5
  redis-server &
6
 
7
+ # Launch Celery worker
 
 
 
8
  celery -A celery_worker worker --loglevel=info &
9
 
10
+ # Launch FastAPI
11
+ uvicorn app.main:app --host 0.0.0.0 --port 7860 &
12
+
13
+ # Launch Streamlit
14
  streamlit run app.py --server.port 7861