Welcome to the Online Shop project – our hackathon entry for Phase 1! This repository contains a fully functional e-commerce application built to demonstrate foundational DevOps skills in three key areas:
- Git & GitHub
- Linux
- Docker
In this phase, your focus is on understanding the provided developer code, reviewing how these core topics are implemented, and making any necessary enhancements. When you're ready, you'll submit your work via our designated Google Form.
-
Video Demonstration
Before diving into the tasks, please review the following key resources:
- CONTRIBUTING.md: Guidelines for code contributions, commit messages, and overall coding standards.
- COMMANDS.md: Command used by me throught the project from Configuration to Deployment.
Except Git Commands
- ROADMAP.md: Insights into the project vision, future enhancements, and milestones.
- Repository Documentation: Explore the repository to understand how the application is built. Pay special attention to the
src
directory where the main application logic resides, as well as configuration files such asvite.config.js
and styling inindex.css
.
These documents provide the context needed to understand the project requirements and the best practices expected for your contributions.
As part of the Train With Shubham Hackathon Phase 1, I was given the charge of deploying an Online Shopping Portal to the internet. The main goal was to ensure that the website was easily accessible, reliable, and scalable so that it could handle user traffic efficiently. Achiving this using DevOps automation tools to develop the deployment process, reducing manual effort, and improving overall system performance. Involved setting up the necessary infrastructure, automating deployments, and ensuring the application could run smoothly in a real time.
- Develop the Required Infrastructre for Online Shopping Portal
- Clonning Necessary Code and Artifacts ensurig Secrutiy and Accessbility
- Strategize a
Deployment Plan
for brining the Applicaion to the Internet.
All this while ensuring:
- Gathering Necessary Resource for building the project.
- Implementing Automation Scripts.
- Using tools like
Docker
to build real world application. - Grasp a good Hands-On on DevOps tools.
- Helping and Learning through Community!
- Strong Cloud and DevOps Infrastructure.
Note: Remembering the Requirements
I did this...
- Understood the ROADMAP.md and CONTRIBUTING.md for build up the project.
- Gathering the resources needed to fulfill the
Task
. - Build a
Docker Installation Script
automation script for installing and using Docker.Running Script explained in
COMMANDS.md File
! - Setting up this Git Repository and Adding and Commiting Files
- Build a Dockerfile for the Online Shopping Portal Application
- Implemented Multi-Stage Docker Build which reduced the size of Image by
1GB
and increased deployment speed by50%
improving efficiency and faster deployment - Build a
.dockerignore
file for ignoring theFiles and Directory
which are unecessary. - Using .dockerignore help reduce the docker image size and improving its deployment speed.
- Built a
Docker Compose
file -
- Lead to faster implementation of Application
-
- Performing Regular
Health Checks
.
- Performing Regular
-
- Custom Network Configuration
- Implemented
Docker Scout
for CheckingVulnerabilties
of Application.Docker Scout Report
- Used
Amazon EC2
to bring the Application to Internet
Shown in Video Demonstration
- Successfully deployed the
Online Shopping Portal
on the internet using DevOps automation tools. - Improved
deployment speed by 50%
and reducedDocker image size by 1GB
using multi-stage builds. - Ensured security and efficiency by implementing
Docker Scout
forvulnerability analysis
. - Automated the setup process with
Docker Installation Scripts
andDocker Compose
for easy deployment. - Deployed the application on
Amazon EC2
, making it accessible and scalable for real users.
Good luck for the hackathon
Happy Learning :)