Skip to content
This repository

Code repository for the Raleigh, NC CakePHP workshop

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 application
Octocat-spinner-32 snippets
Octocat-spinner-32 talks
Octocat-spinner-32 .gitignore
Octocat-spinner-32 readme.textile
readme.textile

Howdy folks, lets get ready for the workshop!

Setting up the application

Requirements

  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://github.com/felixge/raleigh-workshop-08.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 https://github.com/felixge/raleigh-workshop-08/tree/master
  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

Problems?

  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 http://workshops.debuggable.com/raleigh-08/application/
Something went wrong with that request. Please try again.