Composer, Vagrant, and VirtualBox 5.1 must be installed
- Run
composer install
- Run
php artisan ide-helper:generate
- Run
vendor/bin/homestead make
- Run
vagrant box add laravel/homestead
(choose VirtualBox as your provider) - Check if an SSH key already exists
ls -al ~/.ssh
(look for a file namedid_rsa
)- if not, generate one using
ssh-keygen -t rsa -b 4096 -C "[email protected]"
- if not, generate one using
- Create a hosts file entry such as
.168.10.10 homestead.app
- Windows:
C:\Windows\System32\drivers\etc\hosts
- Windows:
- Add
host_ip: "127.0.0.1"
to Line 90 of vendor/laravel/scripts.homestead.php
- Make a copy of
.env.example
named.env
and customize if you wish - Run
vagrant up
- Access the application from your browser at http://homestead.app