Closed sjib closed 1 month ago
@jpdupuy send windows script
@sjib I am still working on it. I cannot find the correct syntax to invoke psql with the pgservice. I try to figure out the correct syntax to avoid to enter the password for each psql execution. I currently have to enter the password since I had to setup the host, port and dbname.
The setup_windows.cmd needs some review since I do not know how to convert the 2 following commands :
psql -U %user% -p %port% -d %db% -h %host% -f 060_dss_interlisimport2-halt.sql> 060_2haltuae.log 2>&1
Please note that we work in a windows environment and I had to copy the setup.sh (for linux environment) to setup.cmd. I do not know if this environment must be taken into account for TEKSI users according to the product strategy. If not, this would be an advantage.
_Originally posted by @sjib in https://github.com/teksi/distance_heating/issues/1#issuecomment-2110255021_