Getting Started

Deploying to Production

Deployment Script

Within your deployment script, where you would normally add any other Artisan commands, add the following command:

    
1php artisan conduit:deploy

Or, if you are using Laravel Forge,

    
1$FORGE_PHP artisan conduit:deploy

This command will:

  • Clear all the cache
  • Cache all your Products and Prices

Laravel Scheduler

In order for your scheduled tasks and queues to run, you will need to set up a cron job to run the Laravel Scheduler.

Laravel Forge can handle this for you by following their documentation or you can manually set it up with a long-running process.

    
1php artisan schedule:run
Code highlighting provided by Torchlight