title: How to Deploy and Run an Angular-CLI to AWS EC2 with Jenkins
body: <p>Here's where I stand right now:</p>
  
  <ol>
  <li>Angular2 codebase is currently in Bitbucket</li>
  <li>Jenkins build is to bring in the codebase, run an "ng build" to get the /dist folder built correctly.</li>
  <li>deploy only the /dist folder contents to the server</li>
  </ol>
  
  <p>From here, I'm very confused as to what to do to actually run the front-end code. When doing local development, I simply do "ng serve" from the project root directory, and that handles everything. Is this still how I run the project from the server after moving the /dist artifacts over? Angular-CLI documentation is extremely lacking in this aspect, as the only given way to deploy code currently is to use github-pages, which is not something I want to have to do.</p>
  
  <p>Anyone able to give me some guidance or documentation that helps me figure out what I'm trying to do?</p>