Quick dive into "Laravel Valet"
Simple loan request page using VueJS. This repo consists of 2 parts:..
- Laravel Valet environment
parkside
site directory
- Download this repo:
git clone https://github.com/mikeurnun/laravel-valet-dive.git
- Navigate to downloaded directory:
cd laravel-valet-dive
- Install Laravel Valet dependencies:
composer update && composer install
- Install Valet:
./vendor/bin/valet install
- Link parkside site with Valet:
./vendor/bin/valet park
- Navigate to root of parkside site:
cd ./parkside
- Install front-end dependencies:
npm install
- Install back-end dependencies:
composer install
- Run:
gulp --production
- Create a copy of
.env
file:cp .env.example .env
- Using your database utility tool of choice (phpMyAdmin, Sequel Pro, Mysql Workbench etc..), create a new database for parkside site
- Open
.env
file in your IDE of choice and modify following lines with correct database credentials:
DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret
- Stage a new table in the database:
php artisan migrate:refresh
- Create & set new app key for parkside site:
php artisan key:generate
You should be all set, open up your browser & go to: http://parkside.dev
Online DEMO: http://parkside.narmandakh.com/
- Stop Valet:
./vendor/bin/valet stop
- Uninstall Valet:
./vendor/bin/valet uninstall
- Remove database manually
- Delete
laravel-valet-dive
directory & that's it! .
..
...
..
. - FYI, only thing Laravel Valet installs globally in your system is
dnsmasq
viaHomebrew
.
If it's still there, simply run:brew uninstall dnsmasq