Create start_server.sh
Browse files- start_server.sh +5 -0
start_server.sh
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
# Start the Gunicorn server in the background
|
4 |
+
nohup gunicorn -w 4 -b 0.0.0.0:7860 myapp:myapp > gunicorn_output.log 2>&1 &
|
5 |
+
echo "Gunicorn server started."
|