5

Some community members suggest that folders like downloader and dev don't belong on a production environment. Is there an official list somewhere? What else has no place on the production server?

8

Is there an official list somewhere

Nope.

In general the folders we exclude from production are:

/dev
/downloader
.htaccess.sample
index.php.sample
install.php
LICENSE.html
LICENSE.txt
LICENSE_AFL.txt
LICENSE_EE.html
LICENSE_EE.txt
mage
php.ini.sample
RELEASE_NOTES.txt

There are exceptions here - for instance - if you don't include the LICENSE files you may not be able to install from scratch; so you'd definitely want to have it tracked in source control, but not deployed.

Obviously it will be hard to run the installer if install.php isn't in your source control either.

/dev and /downloader are the ones that I would advocate should never be in a production environment.

  • 1
    Note that if you plan on using Enterprise's staging feature, you need .htaccess.sample and index.php.sample. – Steve Robbins Sep 5 '15 at 2:02
  • 2
    Hahahahaa YES. But we refer to this as a "box ticker" ;) – philwinkle Sep 5 '15 at 2:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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