Deploy October CMS project to a private or shared server.
October CMS projects can be deployed using Composer and the official Deploy plugin.
# Deploying with Composer
That scenario applies if you have SSH access and have Composer installed on the target server. Deploying October CMS projects with Composer is the same as deploying any other Composer project:
- clone the project repository on the server.
- copy the
auth.jsonfile manually to the server.
composer installin the project directory.
- update the configuration files.
Keep in mind that the Composer's auth.json (opens new window) file from your source October CMS installation must be added to the server. The file is automatically generated when you install October CMS for the first time. It includes the license key information and is required for authenticating Composer requests to the October CMS Gateway.
Alternatively, you can recreate the auth.json file with the
project:set artisan command before running composer install.
php artisan project:set <license key>
# Deploying without Composer
This video describes how to deploy your project to a remote server without Composer.
Watch the tutorial
If you don't have SSH access to the server or can't run Composer commands for any reason, there is an option to deploy an October CMS project using the official Deploy Plugin.