-
(Mac Only) Install Homebrew:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
(Mac Only) Install Caskroom:
brew tap caskroom/cask
-
Install Vagrant:
brew install Caskroom/cask/vagrant
Note: For Windows, you'll need to download and install Vagrant manually. See here
-
Install VirtualBox:
brew install Caskroom/cask/virtualbox
Note: For Windows, you'll need to download and install VirtualBox manually. See here
-
Install Composer:
brew tap homebrew/dupes brew tap homebrew/versions brew tap homebrew/homebrew-php brew install homebrew/php/composer
Note: For Windows, you'll need to download and install Composer manually. See here.
-
Add the
laravel/homestead
box to Vagrant:vagrant box add laravel/homestead
-
Add the Homestead domain to your HOSTS file by editing
/etc/hosts
and adding the following:192.168.10.10 homestead.app
-
Ensure Composer dependencies have been installed:
composer install
Note: This command needs to be ran from the project's root directory.
-
Initialize Homestead in your project:
php vendor/bin/homestead make
Note: This command needs to be ran from the project's root directory.
-
Provision the Homestead box:
vagrant up
Note: This command needs to be ran from the project's root directory.
-
You should now be able to hit http://homestead.app in your browser!
Last active
September 16, 2022 21:39
-
-
Save leek/6c8e3650ebd8f271cbce170421fc98c5 to your computer and use it in GitHub Desktop.
Instructions for setting up and using Homestead
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment