Getting Started

Deploying to Production

Deployment Script

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

1phpartisanconduit: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.

1phpartisanschedule:run
Code highlighting provided by Torchlight