This runbook outlines the steps to deploy a web application.

Prerequisites

  • Access to the repository
  • Deployment credentials

Steps

  1. Clone the Repository
git clone https://github.com/your-repo/web-app.git
cd web-app
  1. Install Dependencies
npm install
  1. Run Tests
npm test
  1. Build the Application
npm run build
  1. Deploy to Server
scp -r build/ user@server:/var/www/web-app

Verification

  • Check the web application at http://your-server-address.
  • Ensure all endpoints are working.