Version 18 (modified by faisal, 16 years ago)

--

For Items with a * be sure to perform the step on all web servers (Currently Wombat and Kangaroo).

1. Merge the last Beta branch onto Trunk, resolve all conflicts and do a commit back to Trunk.

-> Go to your local working copy of Trunk (i.e. cd hgplatform_development).
#: svn merge http://fullturn.svnrepository.com/svn/hgmain/branches/hg_release_betaX
#: svn commit -m "Trunk merged with Beta X"

2. Create a new branch for the Beta release, copy trunk to it.

#: svn cp http://fullturn.svnrepository.com/svn/hgmain/trunk http://fullturn.svnrepository.com/svn/hgmain/branches/hg_release_betaY -m "Beta Y Release of HG Platform"

3. Checkout the new branch to a new release folder on the Production server. *

#: cd /var/www
#: svn co http://fullturn.svnrepository.com/svn/hgmain/branches/hg_release_betaY[[BR]]

4. Checkout the new branch to Static servers (e.g. static.healthguru.com)

#: cd /var/www/static_hgplatform #: svn co http://fullturn.svnrepository.com/svn/hgmain/branches/hg_release_betaY/document_root document_root_betaY
#: emacs /etc/nginx/sites-available/default (update the document_rootY path)

5.Make sure all the tables and fields match

phpMyAdmin for Dev Server is at wallaby.healthgurumedia.com
phpMyAdmin for Production Server is at bilby.healthgurumedia.com

6.Update the path in hgplatform virtualhost. *

#emacs /etc/nginx/sites-available/liveservers (there are 2 places to change it)

7.Run install.sh (its in root folder for the release i.e. /var/www/hg_release_betaY). *

#: ./install.sh (if it doesnt work make it executable by : chmod a+x install.sh)

8.Check config and restart nginx server *

#: nginx -c /etc/nginx/nginx.conf -t
#: /etc/init.d/nginx restart

9.Shut squid down. ssh to cuscus.healthgurumedia.com. Clear the squid cache folder (/var/spool/squid) on Cuscus. Rebuild cache and restart squid.

#: ssh root@…
#: squid -k shutdown [Note: Repeat this until you receive the message that no squid is running]
#: cd /var/spool
#: mv squid squid.old
#: mkdir squid
#: chmod 777 squid
#: squid -z
#: squid
#: rm -rf squid.old

10.Make sure everything is working
11.Update the cache files, RSSCache and BuildSearch? using HealthGuru? Admin back office tools. *

For Items with a * be sure to perform the step on all web servers (Currently Wombat and Kangaroo).
Version 1.1
Last Update: 6/10/2009