Jump to content

Recommended Posts

Hey guys.

 

I have a site that has a bit of an audience now days, so usually when I've done some work on it, to 'update it' I'd just open filezilla, delete all files on the live server, reupload the new ones and fix any thing I've forget to change (database credentials etc).

 

Although obviously it's not the most effective way to do it. Can anybody share how you go about it?

I generally keep my sites in a SVN repository and will commit changes as I finish them.  When it's time to update I just do a 'svn update' command on the server to download all the latest files.  All the database/email/etc settings that vary based on environment are inside a config.inc.php file which is on the svn ignore list and not part of the repository (there is a template w/o any real values in the repository as config.inc.php.base).

 

The updates are usually pretty quick as it only updates whatever has changed rather than having to upload every file.  Changes to the config file are rare and just handled manually.  Database changes I do manually prior to the file updates.

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.