Thursday 31 March 2011

How to restart rails site after make changes on live site/server

        when you are using Phusion Passenger plugin & make change or add file, etc to live site by SVN or directly on server , you need to follow below steps after "up SVN" or changes on server to get changes on live site..
  
step-1 Go to you to web site's root directory.
               i.e. root@u15369819:/home/yoursite_name.com#


step-2 type command, ps.
               i.e. root@u15369819:/home/yoursite_name.com#ps

step-3  type command like, touch tmp/restart.txt. 
              i.e. root@u15369819:/home/yoursite_name.com# touch tmp/restart.txt

step-4 type command again, ps. 
             i.e.  root@u15369819:/home/public_html/yoursite_name.com#ps