Follow these commands in order to set up the project:
-
Copy the
.env.example
file to.env
cp .env.example .env
-
Generate a key for your project
php artisan key:generate
-
Install all PHP dependencies
composer install
-
Install all JavaScript dependencies
npm install
-
Run migrations (using SQLite by default)
php artisan migrate
-
Run all seeders
php artisan db:seed
Make sure you log in as the user with ID 1:
login: [email protected]
password: password
This is because the channel will check if this user can listen to the channel. Once logged in, return to the main page.
Run queue
php artisan queue:listen
Starting Reverb with a debugging
php artisan reverb:start --debug
php artisan order:update-status placed
php artisan order:update-status shipped
php artisan order:update-status processing
php artisan order:update-status delivered