These instructions assume you have git, npm, composer, php, mysql installed, that you have a running Laravel 5.8 environment or greater. You can also use Apache or Nginx server.
Adjust:
DB_
setting to reflect the database you will useTEST_USER_PASSWORD
to the test password you want for the inital user. Seedatabase/seeds/UserTableSeeder.php
for user nameMAIL_
should be adjusted if you are goint to test Forgot password or other functions that will emeil. mailtrap.io is a good solution.- If you regenerate Passport Keys you man need to adjust
PASSWORD_CLIENT_ID
composer install
npm install
npm run dev
php artisan migrate
php artisan db:seed
You can skip this if you are not going to use the API.
php artisan passport:keys --force
You can setup any apache
hosting environment you would like.
For OSX with Valet installed the following will work from the top directory of your project
valet link
valet open
You should now beable to login as [email protected]
Using the password you set in the .env