1

https://github.com/magento/magento2/tree/develop/app/code/Magento

i downnloaded Magento-CE-2.1.1_sample_data-2016-08-29-06-45-34.tar.gz

and it doesnot have also app/code inside

also directory under apache is same

/var/www/html/magento2/app$ ls
autoload.php  bootstrap.php  design  etc  functions.php

here

https://community.magento.com/t5/Building-Extensions/Display-template-in-Admin-Module-of-Magento/td-p/28525

he says he puts his code under app/code but i cant put? i try to create an admin entry.

How can i do?

1 Answer 1

2

When you have a fresh installation of Magento 2 there is no app/code folder. You have to create it if you need to add a new local module.

3
  • I downloaded from website.If i dont see all code, how can i create some module? i now downloaded fromgithub code. put to war/www and then run localhost(magento/esetup but di not work but now in root i did composer insstall. i hope it works. becase normaly it asks for a lt of things here devdocs.magento.com/guides/v2.0/install-gde/prereq/…
    – fff
    Commented Sep 8, 2016 at 14:42
  • Don't install from Github. It's only going to cause problems later. When they build Magento for release, they move all of their official code from app/code/Magento to vendor/magento. This is completely intentional.
    – Ryan Hoerr
    Commented Sep 8, 2016 at 14:50
  • BUt ,in all tutoarials, they show app/code directory? how can i find there?
    – fff
    Commented Sep 9, 2016 at 8:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.