Hi Dan,

here's basically the commands that would do a basic deployment using
SSH/SVN.
I'm currently rewriting the whole thing as a console script for cake,
so to keep the deployment script as part of the main project (relying
only on svn and rsync as external libraries).

What needs to be noted is that you may need to setup public/private
key authentication for SSH, so as the commands wont keep asking you
for the password each time


1. svn export --force svn://svnserver/myproject /tmp/cakeproject

2. rsync -avz /tmp/cakeproject/ [EMAIL PROTECTED]:/project/location/on/
server

3. ssh [EMAIL PROTECTED] chmod -R 775 /project/location/on/server

4. rm /tmp/cakeproject


Sorry if I may not be so clear, and i do realise that the process is a
bit crude, but it gets the job done quick, and is quite reliable so
far.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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