Obtain the source
Set up Apache
Edit your sites file sudo nano /etc/apache2/users/username.confLots of errors and messages
First time I fired up the browser I thought “Oh dear me” or at least something along those lines.Unlike my trial of Ruby on Rails, there were loads of errors and configuration changes that were required.
I have solved most of the problems, but still have one left to suss out.
Timezone settings
In app/Config/core.php there is a line (it was 232 on my build)date_default_timezone_set('Europe/London');
Unable to write 'cake_dev_en-us' to File cache
The app/tmp folder needs to be writable by the web user.To find out who this is, add the following bit of code to app/View/Pages/home.ctp
This cleared up all the errors above the title.
Please change the value of “Security.salt” and “Security.cipherSeed”
In app/Config/core.php find the lines and change to a more suitable value. I used sha1sum to generate the salt, and pasted for the salt. The Seed I just typed a few numbers at random.df | shasum
Setting the database connection
You need to create your database using mysql (there are other options, but that's the one I went with).Copy database.php.default to database.php and add your user and database details. Note that for some reason, OSX will not work user localhost (and that took a day to track down).