October CMS is a web application platform with a simple and intuitive interface. A web platform provides a consistent structure with an emphasis on reusability so you can focus on building something unique while we handle the boring bits.

October CMS makes one bold but obvious assumption: clients don't build websites; developers do. When platforms have a client-centric development process, it only results in one thing: an unhappy developer.

Whether you're new to web development or have years of experience, October CMS is a platform that makes it easy to create bespoke experiences for you and your clients. We hope you enjoy your journey with us and discover happiness in simplicity.

To run October CMS locally, we recommend the following software:

Installing Composer

October CMS uses Composer to manage its dependencies. So before getting started, you will need to make sure you have Composer installed.

You should also check that your computer or server meets the minimum system requirements for running the PHP application.

Installing October CMS

You can then create a new October CMS project by using create-project command in your terminal. The following creates a new project in a directory called myoctober.

composer create-project october/october myoctober

When the task finishes, run the installation command to guide you through the next steps.

php artisan october:install

Next, migrate the database with the following command.

php artisan october:migrate

You can then serve the application and open it in your browser.

php artisan serve

Post-Installation Steps

There are some things you may need to set up after the installation is complete.

Review Configuration

Configuration files are stored in the config directory of the application. While each file contains descriptions for each setting, it is important to review the common configuration options available for your circumstances.

For example, in production environments you may want to do the following:

Setting Up The Scheduler

For scheduled tasks to operate correctly, you should add the following Cron entry to your server. Editing the crontab is commonly performed with the command crontab -e.

* * * * * php /path/to/artisan schedule:run >> /dev/null 2>&1

Be sure to replace /path/to/artisan with the absolute path to the artisan file in the root directory of October CMS. This Cron will call the command scheduler every minute. Then October CMS evaluates any scheduled tasks and runs the tasks that are due.

Note: If you are adding this to /etc/cron.d you'll need to specify a user immediately after * * * * *.

Setting Up Queue Workers

You may optionally set up an external queue for processing queued jobs, by default these will be handled asynchronously by the platform. This behavior can be changed by setting the default parameter in the config/queue.php.

If you decide to use the database queue driver, it is a good idea to add a Crontab entry for the command php artisan queue:work --once to process the first available job in the queue.

You can also run the queue as a daemon process with

php artisan queue:work

Minimum System Requirements

October CMS has some server requirements for web hosting:

  1. PHP version 7.2.9 or higher
  2. Composer 2.0 or higher
  3. PDO PHP Extension (and relevant driver for the database you want to connect to)
  4. cURL PHP Extension
  5. OpenSSL PHP Extension
  6. Mbstring PHP Extension
  7. ZipArchive PHP Extension
  8. GD PHP Extension
  9. SimpleXML PHP Extension

Support is provided for these databases with minimum requirements:

  1. MySQL 5.7 or MariaDB 10.2
  2. PostgreSQL 9.6
  3. SQLite 3.8.8

Some OS distributions may require you manually install some of the necessary PHP extensions.

When using Ubuntu, the following command can be run to install all required extensions:

sudo apt-get update &&
sudo apt-get install php php-ctype php-curl php-xml php-fileinfo php-gd php-json php-mbstring php-mysql php-sqlite3 php-zip

When using the SQL Server database engine, you will need to install the group concatenation user-defined aggregate.

Troubleshooting Installation

  1. A blank screen is displayed when opening the application: Check the permissions are set correctly on the /storage files and folders, they should be writable for the web server.

  2. The back-end area displays "Page not found" (404): If the application cannot find the database then a 404 page will be shown for the back-end. Try enabling debug mode to see the underlying error message.

  3. An error 500 is displayed when updating the application: You may need to increase or disable the timeout limit on your webserver. For example, Apache's FastCGI sometimes has the -idle-timeout option set to 30 seconds.

Note: A detailed system log can be found in the storage/logs directory.