Archive for the ‘symfony’ Category

Installing Symfony and the jobeet tutorial

Friday, November 6th, 2009

mtFor what seems like forever now, I’ve been planning on getting an installation of symfony up and running.  A couple of weeks ago I followed the rather excellent tutorial from eingko on how to set up symfony on media temple’s grid server.  Many people have commented on how good this is, but I’d go as far as saying its the media temple gridserver, symfony installation 101.

sfTLogoThe tutorial is much more than just an installation, and after completing it, I can say that its not the installation that’s complicated, its setting up the platform that allows it to run flawlessly.  I’ve been developing on a LAMP platform in my day to day for almost two years, but I’m no expert.  This tutorial takes you through the set-up of the shared hosting package and the installation of pear (something I’d never done before)  and once all those things are in place, there are only about two steps to a successful installation of symfony.  I suspect that the tutorial was written for 1.0, but 1.2 just went in like a dream.

I was thinking about developing my own site, but since I use symfony 1.0 everyday,  I decided to give 1.2 a try, by working through the jobeet tutorial,  and report back the new features to the office.  It was at this point I realised that my installation was not the now recommended way, but I decided to press on regardless as the pear installation (I think) saves me space.

That just about brought me upto the end of Day 1Day2 is the project brief, but if you ever wondered how wire framing might look if you stuck with balsamiq for long enough, this will give you a good idea.

That brings me to this evening and Day 3.  I tied myself up in knots by not reading the instructions carefully enough, but it seems that I’m not the only one.  You only need to run the following command if your dB already exists!..

$ php symfony propel:build-schema

Also, don’t get caught out by the screen grab of the form (you will only get that page once you’ve implimented the change outlined below the image).

job

Getting the dB hooked up is a big step, and if you’re past that, the rest should be easy!