- Virtual box: https://www.virtualbox.org/
- VagrantUp: https://www.vagrantup.com/
- Gitbash (my suggestion) to run script: https://gitforwindows.org/
- Visual Studio Code or an Editor to change the configurations: https://code.visualstudio.com/
- PG-Admin or other GUI to be contected to the DataBase in VM: https://www.pgadmin.org/
- Run GitBash or another CommandPromt
- Go to the folder of "Vagrantfile"
- Run the Command in CommandPromt "vagrant up"
- After Installation you will get all the Information about Username and Pass and IP of VM
- to start use "vagrant up"
- To turn of the virtual machine you can use "vagrant halt --force"
- To remove all data of VM you can use "vagrant destroy"
Configure the Windows Firewall to allow incoming connections to PostgreSQL: https://bit.ly/3rHuyxe
- Launch Windows Control Pane.
- Open Windows Defender Firewall.
- Click Advanced settings on the left-hand side of the window.
- Click Inbound Rules on the left-hand side of the window.
- Click New Rule on the right-hand side of the window.
- Select Port as the type of rule and click Next.
- Select TCP as the protocol and enter 5432 as the port number. Click Next.
- Select Allow the connection and click Next.
- Select the network types for which the rule should apply (Domain, Private, or Public). Click Next.
- Enter a name and description for the rule and click Finish.