OctoberCMS Boilerplate
by Octobro, (*1)
OctoberCMS is a powerful CMS based on Laravel PHP Framework., (*2)
Requirements
- PHP >= 7.4
-
Composer 2
- October CMS License Key (
auth.json
)
Getting Started
-
Clone to your base project directory., (*3)
git clone --depth 1 https://github.com/octobroid/oc-boilerplate.git <project-name>
-
Go to the project folder and don't forget to remove .git
folder. Create your own repository., (*4)
cd <project-name>
rm -rf ./.git
git init
-
Put the auth.json
to the root directory for your access to download the October CMS library. Don't forget to remove it from .gitignore
if you already set up the project., (*5)
-
Install composer dependencies., (*6)
composer install
-
Create configuration file .env
(copy from .env.example
) and set the database configuration., (*7)
DB_HOST=localhost
DB_DATABASE=<database-name>
DB_USERNAME=<database-user>
DB_PASSWORD=<database-password>
-
Migrate October database., (*8)
php artisan october:migrate
-
For security reason, please generate new application key., (*9)
php artisan key:generate
-
To enable Laravel Horizon, run the command below to generate the assets., (*10)
php artisan horizon:assets
Plugins
In this boilerplate, we've installed:, (*11)
- RainLab.User
- RainLab.Sitemap
- RainLab.Pages
- Mja.Mail
- Jacob.Horizon
More plugins that we recommend (not installed yet):, (*12)
- RainLab.Blog
- RainLab.Translate
- Responsiv.Uploader
To install plugin, run the command:, (*13)
php artisan plugin:install <plugin-name>
Frontend Theme
We implement the minimalist CSS library Pico.css., (*14)
Coding Standards
Please follow the following guide:, (*15)