• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SVN and deployment methods

#3
[eluser]Grahack[/eluser]
I like to detect the server:
Code:
$active_group = $_SERVER['HTTP_HOST']=='mysite.local'?"local":"distant";
...
Code:
$config['base_url']    = 'http://mysite.'.($_SERVER['HTTP_HOST']=='mysite.local'?"local/":"com/");
To me it's not related to SVN. I use sitecopy to upload files on the server. There are some interesting posts about using subversion (for example its hooks to checkout the code after a commit in the web directory).


Messages In This Thread
SVN and deployment methods - by El Forum - 02-11-2008, 03:49 PM
SVN and deployment methods - by El Forum - 02-11-2008, 04:33 PM
SVN and deployment methods - by El Forum - 02-13-2008, 02:30 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.