Skip to content

Latest commit

 

History

History
50 lines (30 loc) · 957 Bytes

run.md

File metadata and controls

50 lines (30 loc) · 957 Bytes

Run

Run migrations

~/laravel-scaffold-v1$ php artisan migrate

Run seeders

This seeder fill lists to database

~/laravel-scaffold-v1$ php artisan db:seed

Run Faker Seeder optional

This seeder create 10 users to database

~/laravel-scaffold-v1$ php artisan db:seed --class=FakerDataSeeder

Compiling Assets (Laravel Mix)

// Watching Assets For Changes
~/laravel-scaffold-v1$ npm run watch

// Run all Mix tasks...
~/laravel-scaffold-v1$ npm run dev

// Run all Mix tasks and minify output...
~/laravel-scaffold-v1$ npm run production

Run serve

Local Development Server

If you have PHP installed locally and you would like to use PHP's built-in development server to serve your application, you may use the serve Artisan command. This command will start a development server at http://localhost:8000

~/laravel-scaffold-v1$ php artisan serve