Magento 2 can run into the following modes: – default – developer – production Magento 2 comes with the default mode activated. If you do a change in the view files, it cannot be seen until you clean the generated static view files. The developer mode should be used when you do customizations […]
If you want to create a new admin user from terminal in Magento 2 you need to run this command into your Magento 2 directory. php bin/magento admin:user:create –admin-firstname=Jane –admin-lastname=”Doe” –admin-email=”firstname.lastname@example.org” –admin-user=jane –admin-password=”yourpassword1″ Your password must include both numeric and alphabetic characters.
You can enable the maintenance mode by going to your Magento’s directory and run this command: php bin/magento maintenance:enable If you want to set the maintenance flag for everyone, except one ip/ips, you need to run the command: magento maintenance:enable –ip=18.104.22.168 –ip=22.214.171.124 So everyone, except those 2 ips, will see the maintenance mode […]