Code repository for the Raleigh, NC CakePHP workshop
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Howdy folks, lets get ready for the workshop!

Setting up the application


  1. You need to have apache / mysql / php5 running locally
  2. You should have git installed (if not you won’t be able to see updates as they come in)
  3. Install git on your computer

Getting the code

Using git:

  1. Navigate to your http docs folder in your terminal
  2. Run git clone git:// workshop
  3. You should now have a folder called workshop downloaded onto your computer. The CakePHP application itself is in the sub folder “application”.

No git:

  1. Go to
  2. Download the contents of the “application” folder

Running the application

  1. Make a copy of app/config/core.php.default in app/config/core.php
  2. Make a copy of app/config/database.php.default in app/config/database.php
  3. Create a new local mysql database called “workshop” (or similar)
  4. Import the app/config/sql/2008-08-06.sql file (or a newer version) into the workshop database
  5. Open app/config/database.php and set up your default connection settings to make it connect to the workshop db
  6. Point your browser to http://localhost/workshop/application/
  7. If everything worked you should see the application running


  1. If you have problems, get a hold of one of the presenters in the 2nd room – they’ll be happy to help you
  2. Otherwise simply browse the code on github and play with the life version on