Giter VIP home page Giter VIP logo

oc-boilerplate's Introduction

OctoberCMS Boilerplate

by Octobro


OctoberCMS is a powerful CMS based on Laravel PHP Framework.

Prerequisites

  1. PHP > 7.1
  2. MySQL or MariaDB
  3. Composer
  4. Yarn

Getting Started

  1. Clone to your base project directory.

    git clone https://github.com/octobroid/oc-boilerplate.git <project-name>
    
  2. Don't forget to remove .git folder, create your own repository.

    rm -rf !$/.git
    
  3. Install composer dependencies.

    composer install
    
  4. 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>
    
  5. Migrate October database.

    php artisan october:up
    
  6. Install frontend library using Yarn. Go to theme directory first.

    cd themes/my-theme
    yarn install
    
  7. For security reason, please generate new application key.

    php artisan key:generate
    

Plugins

In this boilerplate, we've installed:

  1. RainLab.User
  2. RainLab.Pages
  3. RainLab.Sitemap
  4. RainLab.GoogleAnalytics
  5. October.Drivers
  6. Bedard.Debugbar
  7. Mja.Mail
  8. Jacob.Horizon

More plugins that we recommend (not installed yet):

  1. RainLab.Blog
  2. RainLab.Translate
  3. Responsiv.Uploader
  4. eBussola.Feedback

To install plugin, run the command:

php artisan plugin:install <plugin-name>

To enable Laravel Horizon, run the command:

php artisan vendor:publish --provider="Laravel\Horizon\HorizonServiceProvider"

Frontend Libraries

All frontend libraries are managed using bower. These packages are installed by default:

  1. Bootstrap
  2. Font Awesome
  3. FastClick

To install additional library, run the command:

yarn add <package-name>

Coding Standards

Please follow the following guide:

oc-boilerplate's People

Contributors

angellicaos avatar dependabot[bot] avatar muhammad-ihsan avatar prasiman avatar surahmans avatar syafilm avatar syehan avatar triasrahman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.