Skip to content

riponanwar/Magento-2-Helloworld-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Magento 2-Hello World Module

Learn how to create a hello world module in Magento 2

After create the module if you run the command as:

php bin/magento module:status

To enable a module in Magento 2

php bin/magento module:enable Zendanwar_Magetigers

Please upgrade your database: Run bin/magento setup:upgrade from the Magento root directory.

Let run the following command:

php bin/magento setup:upgrade

Please run the deloy command line to fix it.

php bin/magento setup:static-content:deploy

Route’s in magento are divided into 3 parts: Route frontname, controller and action as following example:

http://domainname.com/index.php/frontname/controller/action

After completed, please run to check result

php bin/magento cache:clean

Finally brows the following

http://domainname.com/magetigers/index/hello

About

Product upload file extension

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages