![Vagrant+PHP7](https://camo.githubusercontent.com/f624818b7060d83aa2c1f7c5385250564b0d707a45adfdafc468d06c3f9cfb42/687474703a2f2f692e696d6775722e636f6d2f474e7268334d752e706e67)
- Ubuntu 16.04
- Nginx (latest)
- PHP (7.2.x)
- Composer (latest)
- NodeJs (8.x)
- Npm (latest)
- MySQL (latest)
- Htop
- Mc
- Install VirtualBox and Vagrant
- Clone project
- (optional) Run on host machine:
- Linux:
sudo apt-get install dnsmasq
echo "address=/.test/192.168.3.3" >> /etc/dnsmasq.conf
- macOS:
- Go to directory with README file (
cd laravel-vm
)
- Run
vagrant up
- Go to
laravel-vm/www/
- Make
directory/public/index.php
- Open url
http://directory.test/
- Enjoy 😎
domain.test
./www/domain/public/index.php
developer.test
./www/developer/public/index.php
sub.domain.test
./www/domain/sub/www/index.php
sub.developer.test
./www/developer/sub/www/index.php
- login:
root
- password:
root
Read more at Laravel news