QuickTopic free message boards logo
Skip to Messages


OS X/DAMP as web development staging platform

(not accepting new messages)
pbxPerson was signed in when posted
08:18 AM ET (US)
Spammers have discovered QuickTopic; freezing this now.
  Messages 11-10 deleted by author between 07-22-2006 08:18 AM and 07-21-2006 08:56 AM
teradiaPerson was signed in when posted
03:46 PM ET (US)
I've tried using RsyncX, as I prefer a GUI over a command line any day, but I've had nothing but trouble with it - this week it likes to write empty files to the server, even for files that haven't changed.

Back to the command line....
Dirk-WIllem van Gulik
02:56 PM ET (US)
We use CVS almost exclusively for that; and add a small script to the commitinfo script. The latter updates the web site in sync with cvs

    cd /.../yourdocroot/
    cvs update

i.e. after a commit the site is automatically updated. The above is a simplification of the real script; which includes a test suite and an update against specific release tags :-) but it works very well.

Allan Hsu
07:38 PM ET (US)
I've known quite a few people that have used CVS to manage their sites quite successfully. I know you mentioned that in your post, but I thought people might want a good place to start looking into it, if the whole rsync route doesn't seem like what they need:
It's a pretty good introduction to CVS, oriented towards web development.
03:01 PM ET (US)
Re: the use of ssh -- setting the 'RSYNC_RSH' environment variable to 'ssh' will make rsync always use ssh, w/o needing to specify on the command-line. I set this system-wide, as I can't think of a time when I'd ever want rsync over rsh (the default).
Gabe Hollombe
02:29 PM ET (US)
Adam: I think the reason you've never gotten /etc/hosts to work in os x is because the system only looks at that when booted in single user mode, I believe.
Faisal N. Jawdat
02:06 PM ET (US)
Not amazingly rsync or OS X related, but related to the problem you discuss:


This is a framework for managing web sits / apps / services in an environment with development, test and production setups that are all different, and somewhat automating the process of working on projects and pushing/publishing from one set of servers to the next.
pbxPerson was signed in when posted
01:34 PM ET (US)
Just got a nice message from Bill Bumgarner about a blog entry of his on ssh -- which I realize I forgot to mention in conjunction with rsync. My rsync commandlines all use the "-e ssh" option. Naked FTP is terribly insecure.
pbxPerson was signed in when posted
01:21 PM ET (US)
I use Netinfo. Each .dev domain is an entry under "machines" with two properties set: "ip_address" ( and "name" (foo.dev). Works great (assuming there's a corresponding VirtualHost entry in your Apache config of course).
Edited 03-04-2003 01:22 PM
Adam Vandenberg
01:02 PM ET (US)
What do you use to set up your .dev domains, NetInfo or hosts? For some reason I've never managed to get OS X reading the hosts file, and I don't really like mucking around in NetInfo just to set up my own .dev domains (though there aren't that many of them and I found a shell script that can do it for me.)