Spaces:
Sleeping
Sleeping
Update run.sh
Browse files
run.sh
CHANGED
@@ -14,6 +14,7 @@ echo "Starting Nginx..."
|
|
14 |
service nginx start
|
15 |
service nginx status
|
16 |
curl http://localhost:8080
|
|
|
17 |
|
18 |
# Assuming your backend server is a Python application that you want to run on port 8000.
|
19 |
# Adjust the command below to match how you start your backend server.
|
@@ -28,3 +29,4 @@ uvicorn app:app --host 0.0.0.0 --port 8000 --reload &
|
|
28 |
# would make the script exit immediately otherwise.
|
29 |
curl http://localhost:8000
|
30 |
wait
|
|
|
|
14 |
service nginx start
|
15 |
service nginx status
|
16 |
curl http://localhost:8080
|
17 |
+
curl http://localhost:8080/custom-auth
|
18 |
|
19 |
# Assuming your backend server is a Python application that you want to run on port 8000.
|
20 |
# Adjust the command below to match how you start your backend server.
|
|
|
29 |
# would make the script exit immediately otherwise.
|
30 |
curl http://localhost:8000
|
31 |
wait
|
32 |
+
exit $?
|