Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,16 +131,20 @@ This document outlines the step-by-step process for deploying a 2-tier web appli
sudo systemctl start jenkins
sudo systemctl enable jenkins
```
4. **Clone git repo to ubuntu machine:**
```bash
git clone <git repo link>
```

4. **Initial Jenkins Setup:**
5. **Initial Jenkins Setup:**
* Retrieve the initial admin password:
```bash
sudo cat /var/lib/jenkins/secrets/initialAdminPassword
```
* Access the Jenkins dashboard at `http://<ec2-public-ip>:8080`.
* Paste the password, install suggested plugins, and create an admin user.

5. **Grant Jenkins Docker Permissions:**
6. **Grant Jenkins Docker Permissions:**
```bash
sudo usermod -aG docker jenkins
sudo systemctl restart jenkins
Expand Down Expand Up @@ -307,4 +311,4 @@ The CI/CD pipeline is now fully operational. Any `git push` to the `main` branch


### **10. Work flow Diagram**
<img src="diagrams/project_workflow.png">
<img src="diagrams/project_workflow.png">