4-Month DevOps Skill-Up Challenge

Day 1




🔧 1. Version Control & Code Management (Git + GitHub)

Today my Goal: Track changes, collaborate, and manage my code.

Create one repo name called wallpaper-hub


Step 1: Initialize Git in your project folder:
  



git add .



git commit -m "Initial commit for Wallpaper Hub"

Step 2: Push to GitHub:
  • Create a new repo at GitHub

  • Link and push:

Link:



Push :




🐳 2. Containerization with Docker

Goal : Now package your app withits environment 

Step 1: Create a Dockerfile:




Inside the File ad script




Step 2: Build and run the container:

output:












✅ Test: Open http://localhost:8080

Output:




🛠️ 3. CI/CD Pipeline with GitHub Actions

Goal: Automate build/test/deploy on code push.

  • Step 1: Create .github/workflows/deploy.yml:

🗂️ 1. Open Your Project Folder

Navigate to the root of your project directory.

📁 2. Create Folder Structure



📄 3. Create deploy.yml File



Inside the File




💾 4. Save and Commit the File








🟢 5. Verify on GitHub

Go to your GitHub repository:

  • Click on "Actions" tab

  • You’ll see your CI/CD Pipeline running

  • .You’ll see it running under the Actions tab.

  • It will trigger the pipeline


☁️ 4. Cloud Deployment (AWS EC2)

Goal: Host your container on a Linux VM

Will be completed on next day 

see you soon friends...✌