diff --git a/startfastapiserver.bat b/startfastapiserver.bat index 6af79e3..e53f847 100644 --- a/startfastapiserver.bat +++ b/startfastapiserver.bat @@ -2,5 +2,5 @@ REM f: REM cd "f:\DEV\GitHub\TJWaterServer" call startpg.bat -cd C:\Users\Administrator\Desktop\server +cd C:\SourceCode\Server uvicorn main:app --host 0.0.0.0 --port 80 --reload diff --git a/startpg.bat b/startpg.bat index 5ca6931..a451e8e 100644 --- a/startpg.bat +++ b/startpg.bat @@ -1,3 +1,4 @@ C: cd "C:\pg-14.7\bin" -pg_ctl -D ../data -l logfile start \ No newline at end of file +pg_ctl -D ../data -l logfile stop +pg_ctl -D ../data -l logfile start