This runbook outlines the steps to deploy a web application.
Prerequisites
- Access to the repository
- Deployment credentials
Steps
- Clone the Repository
git clone https://github.com/your-repo/web-app.git
cd web-app
- Install Dependencies
npm install
- Run Tests
npm test
- Build the Application
npm run build
- 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.