Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 1.53 KB

README.md

File metadata and controls

57 lines (37 loc) · 1.53 KB

CakePHP Boilerplate

CakePHP Boilerplate for Zynesis projects.

Loaded with the following goodies:

  1. Composer
  2. CakePHP 2.x (loaded via Composer)

CakePHP plugins:

  1. ClearCache
  2. DebugKit
  3. TwitterBootstrapHelper (Zynesis fork)

Other vendor packages:

  1. Bootstrap 2.3

Set up

  1. Set up a new project directly via Composer

    composer create-project -s dev zynesis/cakephp-boilerplate my-cakephp-project

    If you do not yet have Composer installed on your system, follow the guide here on how to install Composer.

  2. Make these dirs and files writable by web server:

    chmod -R 777 tmp
  3. Set up database and other local settings

    cp Config/database.php.default Config/database.php
    cp Config/local.php.default Config/local.php

    Edit database.php and local.php with your local settings

  4. Point DocumentRoot (or equivalent) of your web server to webroot/. Enjoy!

Notes

  1. Model recursiveness is set to -1 by default.

  2. To clear cache, simply Console/cake ClearCache.clear_cache.

Credits

Loading of CakePHP via Composer is made possible thanks to Ceeram's idea.