Revision #35 has been created by rackycz on Feb 15, 2021, 8:12:11 AM with the memo:
Vagrant
« previous (#34) next (#36) »
Changes
Title
unchanged
Yii v2 snippet guide III
Category
unchanged
Tutorials
Yii version
unchanged
2.0
Tags
unchanged
tutorial,yii2,beginer
Content
changed
[...]
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:[...]