Spaces:
Sleeping
Sleeping
Create run.sh
Browse files
run.sh
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
# run.sh
|
3 |
+
#!/bin/bash
|
4 |
+
|
5 |
+
# Start the application
|
6 |
+
python app.py &
|
7 |
+
|
8 |
+
# Wait for the server to start
|
9 |
+
sleep 5
|
10 |
+
|
11 |
+
# Run self-update test
|
12 |
+
python self_update_test.py
|
13 |
+
|
14 |
+
# Stop the background process
|
15 |
+
kill $!
|