- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
tutorial --Install basic module from scratch --
Hey All!
There is a lot of module build tutorial without all the information and screenshot how to install a module.
So , I make a tutorial how to build basic module for magento 2
http://nirgoldman.com/2015/08/11/magento-2-basic-module-development/
Any tutorial to share will be great for us to learn the new magetno 2 platform
Please give me Kudos and stars or be kind to share knowlage in my website or in your website and share.
Thanks,
Nir Goldman
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: tutorial --Install basic module from scratch --
Hello Goldman,
There is two way to install an extension in magento2 first one using composer and second is manually, here I am explaining second one.
Use the following steps:
Download the package
Copy and paste under the Magento root directory, the folder structure should be like this: magento_root/app/code/Package name/Modulename.
Go to the Magento root directory
Run the command : sudo php bin/magento setup:upgrade
Delete the di, generation and cache from var/
Run the command: sudo php bin/magento setup:di:compile
Run the command: sudo php bin/magento cache:clean
Give the read and execute permission var/di, var/generation, var/cache
Clear the cache
You are done.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: tutorial --Install basic module from scratch --
This tutorial is good for those who are new and learning to build their own Magento extension.
<< Snipped >>
There are 6 steps for creating a new Magento 2 extension:
- Step 1: Make module folder:
- Step 2: Add module.xml to declear the module
- Step 3: Create registration.php to register the module
- Step 4: How to Install, Enable or Disable/remove the module
- Step 5: Route of the module.
- Step 6: Controller and action.
You can read the tutorial for more detail on each step.
Good luck!