by Octobro
OctoberCMS is a powerful CMS based on Laravel PHP Framework.
- PHP >= 7.4
- Composer 2
- October CMS License Key (
auth.json
)
-
Clone to your base project directory.
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.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. -
Install composer dependencies.
composer install
-
Create configuration file
.env
(copy from.env.example
) and set the database configuration.DB_HOST=localhost DB_DATABASE=<database-name> DB_USERNAME=<database-user> DB_PASSWORD=<database-password>
-
Migrate October database.
php artisan october:migrate
-
For security reason, please generate new application key.
php artisan key:generate
-
To enable Laravel Horizon, run the command below to generate the assets.
php artisan horizon:assets
In this boilerplate, we've installed:
More plugins that we recommend (not installed yet):
To install plugin, run the command:
php artisan plugin:install <plugin-name>
We implement the minimalist CSS library Pico.css.
Please follow the following guide: