For "non-serious" project I simply had svn working copy on the web root, so
delivery consisted on a commit from dev machine / update from server
Then i had a svn working copy on the server, and copied it in the web root
with rsync (rsync then allow you to exclude some files, which you may want
in the subversion rep if you work from different locations, but not in the
server - in php their may not be so many of these, but I found it convenient
to exclude fla flash source file for example)
Now i figured out (or rather, Symfony made me aware of the fact that) you
could use rsync even on a windows machine (on which I develop), so I
directly rsync from my dev machine to the web root of the server.
(you can get the required ssh and rsync program here:
http://trac.symfony-project.org/wiki/SymfonySyncOnWindows)

I also read in this list that it s better to transfer the files in a
timestamped folder on the server, and do the actual deployment by changing a
symlink from the timestamped folder to the web root. (which I still need to
implement)

I am also interested in the way other people are handling this.

2008/10/29 Robin <[EMAIL PROTECTED]>

>
>
> This topic has been touched on a couple of times in recent weeks but I
> would be interested to know how people would in an ideal world and do start
> a new project and take it through to going live and then deploying updates
> on to the live application.
>
>
>
> I have recently started a new project for myself and with no time
> constraints (apart from limited free time) I was looking at different "best
> practices" for the full life cycle of a php application.
>
> I have and svn repository, I plan on writing unit tests, I work on a
> development server but historically I've updated live code using ftp which I
> know is far from being the best way so I am looking at 
> Capistrano<http://www.capify.org/>and php
> under control <http://www.phpundercontrol.org/> .
>
>
>
> Does anyone have any insights or suggestions or comments on their ideal and
> current application life cycle?
>
>
>
>
>
> Cheers
>
>
>
> Robin
>
>
>
>
>
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to