'Vagrant up' on project opening and 'vagrant halt' on project closing

Hi.

Is there a way in PyCharm to run 'vagrant up' command on project opening? I found Startup Tasks menu in Settings, but there is no way to add configuration related to Vagrant.

Moreover, I'd like to stop VM by running 'vagrant halt' command on project closing.

 

Please sign in to leave a comment.