title: Deploying Laravel 4 on shared hosting server (hostgator)
body: <p>I would appreciate your help. I really don't know where else to turn to. I can't deploy a L4 app to Hostgator. I read the guide on the forums, but my shared HG account already has many apps under public_html so deleting it would be catastrophic and a risk I cannot afford to play with.</p>
  
  <p>Is there a way to deploy L4 app like any other normal apps?</p>
  
  <p>What I am trying to do is the following:</p>
  
  <pre><code>home/myuser/public_html/domain.com/laravel/               &lt;--- where the app should live
  home/myuser/public_html/domain.com/laravel/dev          &lt;--- dev environment
  </code></pre>
  
  <p>in both of these folders there is a separate git repository (via ssh). with remotes dev and prod</p>
  
  <p>so what I simply want to achieve is:</p>
  
  <pre><code>git push prod
  </code></pre>
  
  <p>and</p>
  
  <pre><code>git push dev
  </code></pre>
  
  <p>but when I push, I am getting a message:</p>
  
  <pre><code>dev/bootstrap/../vendor/autoload.php) [function.require]: failed to open stream: No such file or directory
  
  /dev/bootstrap/../vendor/autoload.php' (include_path='.:/opt/php53/lib/php') in
  </code></pre>