Using SVN and maintaining dev and live environment

sevenupcan

Junior Member
At the moment I used a very cumbersome process to publish my website's to their LIVE environment. This process usually involves manually copying the files over to the live domain and changing any settings significant to that domain. The database I use is also the same as live.

This is problematic for several reasons...


  • Manually FTPing files across to the live domain allows human error
  • Annoying have to manually alter configuration files
  • Same database for each environment could result in a lot of pain if I accidentally change it on DEV
  • No way to revert changes if something goes wrong on LIVE environment
How does everyone else publish their websites?

Do you use SVN or some sort of version control and if so how to you set it up?



Many thanks,
Gavin
 
SVN for the win my friend,

client (local files) <->
client (local files) <-> DEV BOX -> LIVE
client (local files) <->
 
Back
Top