title: How to perform a self-update on a local web system?
body: <p>I developed a web system (in CodeIgniter) for a client and it runs on a local machine inside his office. Whenever I need to update the system, I perform the following steps:</p>
  
  <ol>
  <li>Access to server machine via TeamViewer;</li>
  <li>I open <a href="http://cmder.net" rel="nofollow noreferrer">CMDER</a>;</li>
  <li>Access my account on Bitbucket to give a <code>git pull</code>;</li>
  <li>I run the necessary migrations;</li>
  </ol>
  
  <p>Thinking about these desktop systems that automatically look for a new version and upgrade, is it possible to do a routine in this web system to do the same thing? Search Bitbucket (or another web server) for a new version and then do the update?</p>
  
  <p>Thanks for the suggestions.</p>