If you pull right from your source control system to your production
webroot, make sure you're either doing an export (not a checkout), or
you're masking your metadata directories in some fashion (i.e. with
the web server).  There's data in there that you don't want to be
public.  If you have to do it that way, I'd recommend the latter, as
doing repeated exports just chews up bandwidth unnecessarily (since
without the metadata, you can't do deltas).

Much better (at least in my opinion) is to have your production
systems directly mirror you staging system.  That staging system keeps
an up-to-date copy of the codebase from version control, and then uses
some delta-aware transmission method (I like rsync) to keep all the
production servers in sync with it, except for the metadata
directories.  It also absolves you of having to log into each
production server to pull code updates, which is a huge pain if you've
got more than a couple machines.  Having a central point that you can
push from is a lot easier.

cheers,
barneyb

On 8/2/05, Katz, Dov B (IT) <[EMAIL PROTECTED]> wrote:
> Why not use source control with eclipse, as it normally integrates (with
> p4, cvs, and others), and then when ready to deploy, do a sync of your
> repository on the server?
> 
> I've been doing this for a while (using Perforce as my SCM) and  not
> only does it guarantee only sending checked-in code to your servers, but
> it also allows you to shut off your ftp server.
> 
> I actually have a CF site which is set up to do a Sync/Update from my
> source control, and I go there to pull new files.
> 
> -dov
> 


-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213494
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to