-
Change directory to wherever you install Laravel projects
cd ~/path/to/laravel/projects
-
Clone this repository
git clone git@github.com:mstnorris/playing-cards.git playing-cards
-
Add "192.168.10.10 playing-cards.dev" to your
/etc/hosts
file -
Add the following to your
Homestead.yaml
filesites: - map: playing-cards.dev to: /home/vagrant/path/to/laravel/projects/playing-cards/public databases: - playing-cards
-
Provision your homestead box (either change directory to where homestead is installed and run
vagrant provision
Or if you have a global homestead
command, use that:
homestead provision
-
Change directory into the
playing-cards
projectcd playing-cards
-
Install composer dependencies
composer install
-
Install node dependencies
npm install
-
Run the "vendor" task - Laravel Elixir (gulp)
gulp vendor
-
Then run your own "gulp" task - Laravel Elixir (gulp)
gulp
-
Run the database migrations and seeders
php artisan migrate --seed
-
Visit "playing-cards.dev" in your browser, you're now good to go.