How to setup existing Magento 2 Project ?
Magento2

How to setup existing Magento 2 Project?

In this tutorial you’ll learn how to setup existing magento 2 project in new domain or locally. Follow below steps to setup existing magento 2 project. Import Database : Import the database by using this command. mysql -u [username] -p newdatabase < [database name].sql; Clone/Extract the Source code. Clone or extract the source code of magento 2. Run Composer Install…

Continue Reading

Magento 2 Modes_ Default, Developer, Production and Maintenance
Commands, Magento2, Magento2 Commands

Magento 2 Modes: Default, Developer, Production and Maintenance

In this tutorial you’ll learn different Magento 2 Modes. Earlier, Magento 1 was operated with a single mode for development as well as production. However, the Magento 2 came with below modes. Magento 2 Modes : Default, Developer Production and Maintenance. Let’s review through each of them in detail. (01) Default : As the name suggests, the default mode is…

Continue Reading

Important Linux Command
Commands, Linux

Important Linux Command

pwd : The pwd command is a command line utility for printing the current working directory. It will print the full system path of the current working directory to standard output. rm command is used to delete the files and directories in Linux. rm stands for remove. Syntax : rm [options] [-r directories] filenames Options : -i : is used…

Continue Reading

Errors

When Composer Cannot Allocate Memory

Error : nmap() failed can no allocate memory. When Composer Cannot Allocate Memory Sollution 1 : Increasing the limit in your php.ini file (ex. /etc/php/7.2/apache2/php.ini) Sollution 2 : Now if you still run out of memory you can enable swap. sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024 sudo /sbin/mkswap /var/swap.1 sudo /sbin/swapon /var/swap.1 The first command may take a few seconds…

Continue Reading

permission commands in linux
Commands, Linux

Permission Commands in Linux

Linux is a multi-user operating system, so it has security to prevent people from accessing each other’s confidential files. For effective security, Linux divides authorization into 2 levels. Ownership 2. Permission Linux File Ownership : Every Linux system have three types of owner. User : A user is the one who created the file. By default, whosoever, creates the file…

Continue Reading

How to use grunt in Magento 2?
Grunt

How to use grunt in Magento 2?

In this tutorial, I will explain how to use grunt in Magento 2. Before starting the installation, Please rename the existing files package.json.sample and Gruntfile.js.sample in your root folder as package.json and Gruntfile.js respectively. Follow the below steps to use grunt in Magento 2 : Step 1 : Install Node.js First, we need to install a stable version of Node.js.…

Continue Reading

Add ReCAPTCHA V2 And Form Validation Using Custom JQuery
jQuery

Add ReCAPTCHA V2 And Form Validation Using Custom JQuery

In this tutorial, I will explain to you about how to setup Google ReCAPTCHA in custom form using jQuery form validation. Let’s start with our custom validation form with Google’s ReCAPTCHA v2 bot verification. There is also an element with ID google_recaptcha to load Google ReCAPTCHA. To load ReCAPTCHA v2 you need your own key which you need to place…

Continue Reading