Web Development - Training - Setting up an environment with Laravel Valet
A guide to setting up our development environment using Laravel Valet.
Step 1: Installing Laravel Valet
Run the following commands. I'll make this more instructional later.
$ composer global require laravel/valet$ echo "export PATH=\"\$PATH:~/.composer/vendor/bin\"" >> ~/.bash_profile $ source ~/.bash_profile $ mkdir ~/Code $ valet install $ cd ~/Code $ valet park
Step 2: Using the Workspace
All of your code should be cloned into ~/Code into a folder. Then, Valet will serve your code using the name of the folder. For example, if your code is in a folder called guestpass-web you can access it by going to http://guestpass-web.dev
Of this document's writing the following applications will work with this setup:
- GuestPass Web
- NHO Listing
- Diploma Order
- OrgSync API
- Exam Processing
- Micros Report Mailer