Yii v2 snippet guide III

Comparing #34 with #35

Revision #35 was created by rackycz rackycz on Feb 15, 2021, 8:12:11 AM.

Vagrant

Content

[...]
sudo service apache2 restart
```

... so create both files in your project ...

Before you use Vagrantfile, you must install Vagrant and VirtualBox
. (Sadly, these days VirtualBox does not work on the ARM-based Macs with the M1 chip):
 
 
Note2: You can use many other virtual systems besides VirtualBox ( see the list of OS images above), but "my" scotch/box is designed only for VirtualBox I think.
 

- Install [Virtual Box](https://www.virtualbox.org/wiki/Downloads), I recommend to install also the "Extension Pack", but is might be done automatically by "scotch/box".
- Install [Vagrant](https://www.vagrantup.com/downloads) ... on Windows restart is needed :-(
- https://www.sitepoint.com/re-introducing-vagrant-right-way-start-php/

Now just open your command line, navigate to your project and you can start:
[...]