Add the following Cron entry to your server :
* * * * * php /path-to-your-project/artisan schedule:run >> /dev/null 2>&1
This app is running with Homestead & Docker (both are not mandatory) under Nginx
You need to install docker on your machine first
Build and run your containers in background with -d :
docker-compose up
You can build your image
docker-compose build
Run specfic command into container ;
docker-compose exec
Migrate your db ;
docker container exec app php artisan migrate
Seed your db ;
docker container exec app php db:seed
Install dependancies for PHP
composer install
Migrate your db ;
php artisan migrate
Seed your db ;
php artisan db:seed
Install modules javascript
npm install
Then you will need to compile that, so
npm run dev
Init your NodeJS server
laravel-echo-server init
Node js websocket server
laravel-echo-server start