0

I am taking udemy course 'Learning Yii 2' and the guy offers to use a Vagrant box, which he created on Mac via puphpet.

Unfortunately he thinks that 'folder source' is here /Users/mjbeaumont/Packt/Code, while I plan to set it here f:/dev/vagrant/sites/mjbeaumont/code. It's clear, that Vagrant from Mac within his box refuses to agree with me, while I am on Windows.

Does it mean, that rumours about Vagrant total OS cross-compatibility are lies? Or there is a way to solve my problem?

Frederic Henri
  • 51,761
  • 10
  • 113
  • 139
Mike
  • 595
  • 1
  • 5
  • 10
  • maybe you can link to the project (if its on github) so it might be easier to check but you can just change the path for the shared folder setting and everything will work wether you're on mac or windows – Frederic Henri Sep 27 '16 at 11:15
  • Thanks for support,- but where and how can I change the path for the shared foder setting? – Mike Sep 27 '16 at 12:20
  • open the Vagrantfile and look at the `synced_folder` setting – Frederic Henri Sep 27 '16 at 12:26
  • Thank you! - I found this block in 'config.yaml': 'synced_folder' >> 'source: 'f:/dev/vagrant/sites/mjbeaumont/code' >> 'target: /var/www'. You saved my life – Mike Sep 27 '16 at 17:13

0 Answers0