Skip to content

Commit

Permalink
Enhanced Postgresql setup on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
riclolsen committed Jun 18, 2023
1 parent 66a459b commit 2ef7118
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion platform-windows/initial_setup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit /b)

cd \json-scada\platform-windows\

ping -n 2 127.0.0.1
call postgresql-initdb.bat
ping -n 15 127.0.0.1
copy /Y ..\conf-templates\pg_hba.conf postgresql-data\
copy /Y ..\conf-templates\postgresql.conf postgresql-data\
call postgresql-create_service.bat
ping -n 2 127.0.0.1
call postgresql-start.bat
ping -n 12 127.0.0.1
ping -n 18 127.0.0.1
postgresql-runtime\bin\psql -U postgres -h localhost -f ..\sql\create_tables.sql template1

call create_services.bat
Expand Down

0 comments on commit 2ef7118

Please sign in to comment.