Welcome to the Cookbook

loading...

10.1.1 Getting Cake

ada perubahan tertangguh untuk seksyen ini. More information about translations

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

To get a fresh download, visit the CakePHP project on github: http://github.com/cakephp/cakephp/downloads 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:

/path_to_document_root
    /app
    /cake
    /docs
    /vendors
    .htaccess
    index.php
  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.