v1.1.6: cleanup — schema sort fix, batch upload, temp dir to D:, update.bat wildcard fix

This commit is contained in:
PM-pinou
2026-07-22 19:10:39 +08:00
parent e4689ed0a9
commit 7aa847ba3e
3 changed files with 9 additions and 384 deletions
-16
View File
@@ -1,16 +0,0 @@
import subprocess, time, urllib.request, os, sys
os.chdir(r"C:\Users\25044\Desktop\Proj\天璇")
server = subprocess.Popen(
[r"runtime\python\python.exe", "manage.py", "runserver", "127.0.0.1:8765", "--noreload"],
stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL
)
time.sleep(6)
for i in range(5):
try:
r = urllib.request.urlopen("http://127.0.0.1:8765/", timeout=5)
if r.status == 200:
print("SERVER_UP")
sys.exit(0)
except: pass
time.sleep(2)
print("SERVER_FAILED")
+9
View File
@@ -0,0 +1,9 @@
import subprocess, time, urllib.request, sys, os
os.chdir(r"C:\Users\25044\Desktop\Proj\天璇")
p = subprocess.Popen([r"runtime\python\python.exe", "manage.py", "runserver", "127.0.0.1:8765", "--noreload"])
time.sleep(8)
try:
urllib.request.urlopen("http://127.0.0.1:8765/", timeout=5)
print("SERVER_UP")
except:
print("SERVER_DOWN")