Aye - 1.3 - one of the best features along with Doctrine 1.2... :) Pre 1.3 we used a bash script for stand alone installs and we use Chef (http://wiki.opscode.com/display/chef/Home) for managed installs. The only extra thing the bash script does is bootstrap the SF install itself.
Chef is a very handy lightweight infrastructure tool for deployments and management. Has a nice web deploy feature for deploying sites that handles everything including the apache config side. On Thu, 08 Oct 2009 17:30:30 +0200, Sid Bachtiar <[email protected]> wrote: > > That's nice ... 1.3 eh? > > Thanks for the info :) > > On Fri, Oct 9, 2009 at 3:58 AM, david <[email protected]> > wrote: >> >> The current installer option pretty much allows all that now very simply >> via the installer and a terminal window. >> Unless you're thinking of something along the lines of a web installer >> or >> have some other scenario in mind. >> >> You just need to supplement things with a bootstrap.sh script that: >> -> creates lib/vendor >> -> downloads/extracts or svn export >> http://svn.symfony-project.com/branches/version >> -> calls symfony generate:project --installer=[PATH|URL]/sfInstaller.php >> >> sfInstaller.php does the rest >> (http://www.symfony-project.org/blog/2009/06/10/new-in-symfony-1-3-project-creation-customization). >> You can prompt the user for everything you need (DB name, username, etc) >> and call any tasks (Doctrine:build-all-reload, project:permissions). >> >> The only option that might be missing is that there isn't a check_config >> task from within the framework/installer - so you can't run a >> self-check. >> >> >> >> >> On Thu, 08 Oct 2009 13:42:57 +0200, Sid Bachtiar >> <[email protected]> >> wrote: >> >>> >>> A generic installer would be something like: >>> >>> - System checks environment requirements, the usual: php version, >>> apache version, mod rewrite, gd (plugins may add more requirements) >>> - User enter database name, user, password >>> - System creates necessary database structures (table, etc, etc) >>> - System check that cache, log, and upload folder are writable >>> (plugins may register additional folder) >>> >>> I'm sure there'll be a couple more, but they would still be pretty >>> generic. >>> >>> Yes, a Symfony app can be more specialised and more complex, but I'd >>> say most Symfony apps we develop can use such generic installer almost >>> out of the box. Just like so many projects have benefited from >>> sfGuardPlugin, even though not necessarily that ALL projects use >>> sfGuardPlugin. >>> >>> On Fri, Oct 9, 2009 at 12:25 AM, Gareth McCumskey >>> <[email protected]> >>> wrote: >>>> No it wouldn't. Wordpress is a CRM system at its heart and thats >>>> really >>>> all >>>> its there for. symfony is much lower level than that and you cannot >>>> have a >>>> generic installer created for it because there are far too many >>>> possible >>>> variables to consider and so many different ways you can develop an >>>> application with symfony that a single installer would never be able >>>> to >>>> meet >>>> all the demands of the developers. >>>> >>>> THATS why symfony is popular, because it isn't a CRM application, and >>>> it >>>> allows you to do far more the way you want for your own needs, >>>> including how >>>> you want to deploy it. >>>> >>>> On Wed, Oct 7, 2009 at 1:16 AM, Sid Bachtiar <[email protected]> >>>> wrote: >>>>> >>>>> > sf provides all the parts to make installers - you just need to >>>>> glue >>>>> 'em >>>>> > together. >>>>> >>>>> Correct! And it would make it easier to spread Symfony to the mass if >>>>> it has a generic installer built in. >>>>> >>>>> I know, I know, what don't I build it myself? I'd like to, but at the >>>>> moment I'm pretty stretched out. >>>>> >>>>> But it also good to talk about it first, someone might points out why >>>>> this is difficult, etc, etc. >>>>> >>>>> A Symfony open source project called Siwapp (an invoicing system) >>>>> tried/tries/trying to have this kind of installer (www.siwapp.org). >>>>> >>>>> Kind regards, >>>>> >>>>> Sid >>>>> >>>>> On Wed, Oct 7, 2009 at 12:09 PM, david <[email protected]> >>>>> wrote: >>>>> > >>>>> > Wordpress is an application, Symfony is a framework that you can >>>>> use >>>>> to >>>>> > build applications. >>>>> > sf provides all the parts to make installers - you just need to >>>>> glue >>>>> 'em >>>>> > together. >>>>> > >>>>> > On Wed, 07 Oct 2009 00:32:18 +0200, Jake Barnes >>>>> <[email protected]> >>>>> > wrote: >>>>> > >>>>> >> >>>>> >> >>>>> >> >>>>> >> On Oct 5, 2:54 am, Eno <[email protected]> wrote: >>>>> >>> On Mon, 5 Oct 2009, Sid Bachtiar wrote: >>>>> >>> > I was trying to look something more for non-developer. >>>>> >>> >>>>> >>> > Let's say I developed a website then when I give the source >>>>> code >>>>> to >>>>> >>> > my >>>>> >>> > client (who isn't computer illiterate, but is not familiar with >>>>> >>> > Symfony); at the moment I'll have to teach them a lot of things >>>>> on >>>>> >>> > how >>>>> >>> > to install/deploy, symfony commands (clear cache), how to >>>>> change >>>>> >>> > database settings, and so on. >>>>> >>> >>>>> >>> Frankly, what you're asking makes no sense. Deploying a web site >>>>> is >>>>> >>> not >>>>> >>> something you can just give to someone who is not technical. >>>>> >> >>>>> >> >>>>> >> One of the big weaknesses of Symfony is that it can not be >>>>> deployed >>>>> as >>>>> >> easily as WordPress. The fact that non-technical people have an >>>>> easy >>>>> >> time installing WordPress gives WordPress much of its presence on >>>>> the >>>>> >> web scene. >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> > >>>>> > >>>>> > >>>>> > -- >>>>> > Using Opera's revolutionary e-mail client: >>>>> http://www.opera.com/mail/ >>>>> > >>>>> > > >>>>> > >>>>> >>>>> >>>>> >>>>> -- >>>>> Blue Horn Ltd - System Development >>>>> http://bluehorn.co.nz >>>>> >>>>> >>>> >>>> >>>> >>>> -- >>>> Gareth McCumskey >>>> http://garethmccumskey.blogspot.com >>>> twitter: @garethmcc >>>> >>>> > >>>> >>> >>> >>> >> >> >> -- >> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ >> >> > >> > > > -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
