How to customize the Magento Admin site (part 1)
Every Magento instance consits of at least two seperate sites: the frontend, which allows customers to navigate, create accounts and purchase goods,...
When creating a Magento 2 instance, there are many folders and files in the installation directory, this guide can help you understand which files should be added to your project's repository and which ones are not needed or could even be problematic to include.
It will also explain in broad terms how the Magento filesystem works and what recommendations are used to optimize your repository. For an ideal understanding of this article, it is recommended to have a basic understanding of Git and GitHub (or some equivalent tool like GitLab or BitBucket), however the concepts below are useful for anyone who wants to learn about files and folders in a Magento 2 project.
First of all, let's list the default Magento 2.4 repository:
The above files must always be included in our repository, but in addition, the following files or directories may also be included:
Files and folders to avoid adding to the repository (must be in the .gitignore file):
Finally, the following recommendations can make it easier to manage the code and resources of the repository and avoid errors:
I hope this article has been useful to understand how to organize a GitHub repository in Magento 2, remember that all projects are different and there are no definitive rules of what you can add and what not, however if you apply the concepts explained above, you can avoid various problems on the way and work more orderly and safely.
Every Magento instance consits of at least two seperate sites: the frontend, which allows customers to navigate, create accounts and purchase goods,...
eCommerce platforms have become a key component in the commercial architecture of every company, not only for trading (B2C) but also for...
Checkout is the process in which a customer finalises the purchase process. It starts once you finish adding products to the shopping cart and...