Add more scripts

This commit is contained in:
DingZQ
2025-03-02 19:35:20 +08:00
parent 144f786f39
commit bd21d71be7
3 changed files with 8 additions and 2 deletions

5
restartpg.bat Normal file
View File

@@ -0,0 +1,5 @@
C:
cd "C:\pg-14.7\bin"
pg_ctl -D ../data -l logfile stop
pg_ctl -D ../data -l logfile start
cd "c:\SourceCode\Server"

View File

@@ -1,6 +1,6 @@
REM f:
REM cd "f:\DEV\GitHub\TJWaterServer"
call startpg.bat
REM call startpg.bat
cd C:\SourceCode\Server
uvicorn main:app --host 0.0.0.0 --port 80 --reload

View File

@@ -1,4 +1,5 @@
C:
cd "C:\pg-14.7\bin"
pg_ctl -D ../data -l logfile stop
REM pg_ctl -D ../data -l logfile stop
pg_ctl -D ../data -l logfile start
cd "c:\SourceCode\Server"