mgbam commited on
Commit
94b2bf9
·
verified ·
1 Parent(s): be2ec43

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +8 -4
start.sh CHANGED
@@ -1,9 +1,13 @@
1
  #!/bin/bash
2
- cd /tmp
 
3
  redis-server &
4
 
5
- uvicorn /code/app/main:app --host 0.0.0.0 --port 7860 &
 
6
 
7
- celery -A /code/celery_worker worker --loglevel=info &
 
8
 
9
- streamlit run /code/app.py --server.port 7861
 
 
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