title: Angular cli: getting it ready for production
body: <p>I wrote my first Angular 2 application, and I would like to put it onto a test server. </p>
  
  <p>I recently converted it to an Angular-cli project and built it using the command :</p>
  
  <pre><code>ng build --prod
  </code></pre>
  
  <p>From what I understand, I should then be able to paste the contents of the "/dist" folder onto the test server and run it with </p>
  
  <pre><code>ng serve
  </code></pre>
  
  <p>However, If the "/dist" folder can run standalone, why am I unable to run it on my pc as a standalone app (ie, I cannot copy the contents of the dist folder to another place on the pc and run it.)</p>
  
  <p>This will actually be the first application I will be putting onto a test/production server, so please bear with me if what I'm asking is silly.</p>