/deploy-lab

Primary LanguageJavaScript

What's Here

This sample includes:

  • README.md - this file
  • app.js - this file contains the code for your application
  • appspec.yml - this file is used by AWS CodeDeploy when deploying the web application to EC2
  • package.json - this file contains various metadata relevant to your Node.js application such as dependencies
  • public/ - this directory contains static web assets used by your application
  • scripts/ - this directory contains scripts used by AWS CodeDeploy when installing and deploying your application on the Amazon EC2 instance

Your Lab Instructions

To run this code locally, you'll need to clone your project's repository to your local computer. NOTE not a required step to complete the lab.

  1. Install NPM dependencies:

     $ npm install
    
  2. Start the development server:

     $ node app.js
    
  3. Open http://localhost:3000/ in a web browser to view your application.

CodeDeploy Lab: