top bar
QuickTopic free message boards logo
Skip to Messages

TOPIC:

OS X/DAMP as web development staging platform

(not accepting new messages)
12
pbxPerson was signed in when posted
07-22-2006
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
9
teradiaPerson was signed in when posted
03-11-2003
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....
8
Dirk-WIllem van Gulik
03-10-2003
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
commits.

    #!/bin/sh
    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.

Dw
7
Allan Hsu
03-05-2003
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:
http://www.durak.org/cvswebsites/howto-cvs/howto-cvs.html
It's a pretty good introduction to CVS, oriented towards web development.
6
Ben
03-04-2003
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).
5
Gabe Hollombe
03-04-2003
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.
4
Faisal N. Jawdat
03-04-2003
02:06 PM ET (US)
Not amazingly rsync or OS X related, but related to the problem you discuss:

http://www.wigwam-framework.org/

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.
3
pbxPerson was signed in when posted
03-04-2003
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.
2
pbxPerson was signed in when posted
03-04-2003
01:21 PM ET (US)
I use Netinfo. Each .dev domain is an entry under "machines" with two properties set: "ip_address" (127.0.0.1) 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
1
Adam Vandenberg
03-04-2003
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.)