![]() All dependencies in require will be pushed to Pantheon. The require section of composer.json should be used for any dependencies your web project needs, even those that might only be used on non-Live environments. This project uses Composer to manage third-party PHP dependencies. The overall layout of directories in the repo is inspired by, but doesn't exactly mirror, Bedrock. See /web/wp-config.php for key settings, such as WP_SITEURL, which must be updated so that WordPress core functions properly in the relocated /web/wp directory. WordPress allows installing WordPress core in its own directory, which is necessary when installing WordPress with Composer. web/wpĮven within the /web directory you may notice that other directories and files are in different places compared to a default WordPress installation. ![]() See the pantheon.yml documentation for details. They may still be accessible from your version control project if it is public. Having your website in this subdirectory also allows for tests, scripts, and other files related to your project to be stored in your repo without polluting your web document root or being web accessible from Pantheon. ![]() This is necessary for a Composer based workflow. Pantheon will serve the site from the /web subdirectory due to the configuration in pantheon.yml.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |