2017 © Pedro Peláez
 

project oc-boilerplate

image

octobro/oc-boilerplate

  • Tuesday, May 8, 2018
  • by octobro
  • Repository
  • 1 Watchers
  • 6 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

OctoberCMS Boilerplate

by Octobro, (*1)


OctoberCMS is a powerful CMS based on Laravel PHP Framework., (*2)

Requirements

  1. PHP >= 7.4
  2. Composer 2
  3. October CMS License Key (auth.json)

Getting Started

  1. Clone to your base project directory., (*3)

    git clone --depth 1 https://github.com/octobroid/oc-boilerplate.git <project-name>
    
  2. 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
    
  3. 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)

  4. Install composer dependencies., (*6)

    composer install
    
  5. 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>
    
  6. Migrate October database., (*8)

    php artisan october:migrate
    
  7. For security reason, please generate new application key., (*9)

    php artisan key:generate
    
  8. 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)

  1. RainLab.User
  2. RainLab.Sitemap
  3. RainLab.Pages
  4. Mja.Mail
  5. Jacob.Horizon

More plugins that we recommend (not installed yet):, (*12)

  1. RainLab.Blog
  2. RainLab.Translate
  3. 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)

The Versions