Using ansible provisioning.
Add ssh key to ssh-agent. It's used for code fetching from the github
ssh-add -K <path to the key> # on Mac OS
vagrant up --provision
There is no autorunning for now. Therefore go to the vm and run server
vagrant ssh
cd /var/www/<project>
bundle exec rails s -b 0.0.0.0
open localhost:3000
in host browser