Skip to content

Commit

Permalink
Creacion y activacion de modulo
Browse files Browse the repository at this point in the history
 1.- php bin/magento module:status
 2.- php bin/magento module:enable Luisdev_Helloworld
 3.- verificar en app/etc/config.php que el modulo  Luisdev_Helloworld = 1
 4.- php bin/magento setup:upgrade
 5.- OJO en caso de que no cargue el modulo  , tendremos que crear los contenidos estaticos
     php bin/magento setup:static-content:deploy
     php bin/magento setup:di:compile
     chmod -R 777 var/ pub/
  • Loading branch information
PerezContrerasLuis committed Jan 15, 2022
1 parent 4acd57b commit 38ff335
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions code/Luisdev/Helloworld/etc/module.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Luisdev_Helloworld" setup_version="1.2.0">
</module>
</config>
6 changes: 6 additions & 0 deletions code/Luisdev/Helloworld/registration.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php
\Magento\Framework\Component\ComponentRegistrar::register(
\Magento\Framework\Component\ComponentRegistrar::MODULE,
'Luisdev_Helloworld',
__DIR__
);

0 comments on commit 38ff335

Please sign in to comment.