Spaces:
Sleeping
Sleeping
Create start_server.sh
Browse files- start_server.sh +7 -0
start_server.sh
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
# Start the python script in the background asynchronously
|
| 4 |
+
nohup python your_script.py &
|
| 5 |
+
|
| 6 |
+
# Start a simple web server on port 5000
|
| 7 |
+
python -m http.server 5000 &
|