title: Git Clone Laravel Website just displays files and directories
body: <p>I'm still really new to Git version control and Laravel.  But I have gotten so far, and I'm not sure now where I am going wrong.</p>
  
  <p>I set up VirtualBox and Vagrant on my local windows machine and installed homestead successfully.  I have managed to get my Laravel website (it's only one page at the moment as I learn things) working correctly, it displays the header and the footer and the images load and everything.  So that's all good.</p>
  
  <p>So now, I have my Laravel website set up within my virtual vagrant server.  On this server, the directory for my website is:</p>
  
  <p><code>/home/vagrant/Code/sites/public_html</code></p>
  
  <p>No when I <code>cd</code> to that directory, I ran the following:</p>
  
  <pre><code>git init
  get remote add origin https://user@repo/user/publichtml.git
  git add *
  git commit -m "Initial Commit"
  git push -u origin master
  </code></pre>
  
  <p>(I've substituted user@repo instead of the real URL)</p>
  
  <p>All went through successfully.  Great.  So now on my live server I ran the following:</p>
  
  <pre><code>cd /home/sites/public_html
  git init
  git clone https://user@repo/user/publichtml.git
  </code></pre>
  
  <p>Which again, worked fine.  It downloaded all the files into the <code>public_html</code> directory which is great.  So then I go to visit the website and this is what I get:<a href="https://i.stack.imgur.com/Fe7eI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Fe7eI.png" alt="enter image description here"></a></p>
  
  <p>The only explanation for this happening is maybe I need to install something on the server before I clone these files to it.  I guess the files in the Laravel folder won't run by themselves? Do I need to install composer and laravel on the server or something? If so, how do I do that, and why don't they run on their own?</p>
  
  <p>I cannot see a .htaccess or index.php in the root directory so I am not sure how it runs anyway.</p>