Skip to content

subh/raleigh-workshop-08

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

Code repository for the Raleigh, NC CakePHP workshop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published