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: 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:

Plain Text View
/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.

No comments:

Post a Comment

How to Use Google Lens on Android: Practical Everyday Use Cases

Google Lens is built into most Android phones already, but most people only use it for the occasional plant or object identification. It act...