Requirements
You must install VirtualBox 5.2 https://www.virtualbox.org/wiki/Downloads
Install Vagrant (2.0.3) https://www.vagrantup.com/downloads.html
=======
- vagrant box add laravel/homestead
During dialog select option 3 (virtualbox)
- sudo nano /etc/hosts
add hosts there
192.168.10.10 homestead.test
- git clone https://github.com/laravel/homestead.git ~/Homestead
- cd ~/Homestead
- git checkout v7.3.0
- bash init.sh
- vagrant up
- vagrant ssh
- mkdir /home/vagrant/code
- cd /home/vagrant/code
- Clone the repo: git clone git@github.com:menvil/quizapplication.git .
- Install Laravel: composer install --prefer-dist
- Rename file .env.example to .env and dit file .env for proper database values
you can make mv .env.example .env
-
Migrate your database: php artisan migrate
-
Make php artisan key:generate
-
npm install
-
node socket.js
-
View application in the browser via link http://homestead.test