Posts

Showing posts from April, 2024

Deploying Code to AEM Instance

Clone AEM Project from GitHub: Navigate to the GitHub repository where the AEM project is hosted ( prathaapmk/bt-sample (github.com) ). Make sure you have Git installed on your local machine. Clone the repository to your local machine using the following command: git  clone  <repository_url > Replace <repository_url> with the URL of the GitHub repository. Set Up Your Local Environment: Ensure that you have Java Development Kit (JDK) installed on your machine. AEM requires JDK to run. Download and install Apache Maven if you haven't already. Maven is used for building AEM projects. Install an Integrated Development Environment (IDE) such as IntelliJ IDEA or Eclipse if you prefer working with an IDE. Configure AEM Project: Navigate to the directory where you cloned the AEM project. Update the necessary configuration files according to your local environment settings. This may include configurations related to AEM run modes, servlets, components, etc. Make sure to re...

Git

What is Git? Git is a distributed version control system designed to handle everything from small to very large projects with speed and efficiency. It allows multiple people to work on the same project simultaneously, without interfering with each other's work. Key Concepts: Repository (Repo) : A repository is like a project folder that contains all the files, folders, and version history of your project. It can be local (on your computer) or remote (on a server like GitHub, GitLab, Bitbucket, etc.). Commit : A commit is a snapshot of your repository at a specific point in time. It includes changes you've made to files and a message describing those changes. Commits are used to track the history of your project and are essential for collaboration. Branch : A branch is a parallel version of your repository. It allows you to work on new features or fixes without affecting the main codebase (usually the master branch). Branches are lightweight and easy to create, merge, or delete...