Search Engine

Saturday, May 15, 2010

Getting Cake

First, let's get a copy of fresh Cake code.

To get a fresh download, visit the CakePHP project on github: and download the latest 1.2.x.x release.

You can also use git to clone the repository, and checkout the 1.2 branch for the latest development code for this branch.

Regardless of how you downloaded it, place the code inside of your DocumentRoot. Once finished, your directory setup should look something like the following:

Plain Text View
  1. /path_to_document_root
  2. /app
  3. /cake
  4. /docs
  5. /vendors
  6. .htaccess
  7. index.php

Now might be a good time to learn a bit about how Cake's directory structure works: check out Chapter "Basic Principles of CakePHP", Section : CakePHP File Structure.


Post a Comment