What do you need to modify in the bootstrap.php?

On Sun, Oct 25, 2009 at 5:03 AM, Jon Bennett <[email protected]> wrote:

>
> Hi Jeremy,
>
> > Can anyone point me to a good solid SVN deployment howto for CakePHP
> > and a live app? Something along the lines of how simple WordpPress
> > explains it (http://codex.wordpress.org/Installing/
> > Updating_WordPress_with_Subversion) but of course Cake has some
> > additional complications since cake is only a framework and not the
> > entire app.
>
> I do the following:
>
> * set svn:ignore on app/tmp/*
> * keep data separate from the app, so if you have uploads store these
> in a different location, say uploads.mydomain.co.uk
> * have switch statements in webroot/index, config/bootstrap,
> config/database so you can deploy to multiple places (local, test,
> staging, live) without modification. see my reply in the "Dynamic
> Selection of Database config based on Debug level" thread for more.
>
> Then all you need to do is svn co trunk (or a tag/release) to your
> server to deploy.
>
> hth
>
> jon
>
> --
>
> jon bennett - www.jben.net - blog.jben.net
>
> >
>


-- 
David C. Roda
717-917-2169

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to