Sometimes we forget our admin password for our Magento 2 development instance because we usually deal with multiple development instances. Also in most cases, there is no mail service available in a development environment. Hence we could not raise a “forget password” request either. In this case, we can create another admin user from the
Writing unit tests is all about writing down the behavior of the code that we want to test. Once the unit test is written it gets locked and the actual code should fulfill these steps of behaviors in the specified order. Writing unit tests makes the developer stick to what is instructed in the test
In this tutorial, we will set up Magento 2 development environment on top of Docker. We will install a fresh Magento v2.4.5 on Docker. Assuming we have nothing yet, no code base no database, etc. Everything we will start from scratch on the docker container. We will prepare a docker-compose file for Magento 2 setup
Want to learn Kubernetes but don’t know how to create a local cluster? No worries, I will explain how to create a multi-node Kubernetes cluster locally on your own machine. No need to buy any cloud provider service and spend a penny for just learning or testing purposes. Use Kind to create Kubernetes cluster on
Return raw HTML output from Magento 2 controller without the surrounding layout. Useful for ajax requests that return HTML.
While upgrading a Magento 2 website via composer we face several issues, and some of your existing extensions are throwing errors while running the composer update command like “Your requirements could not be resolved to an installable set of packages”. We will try to understand and overcome these issues in this tutorial.