* Laravel Valet is the local web server solution most of us have adopted on the Autoupdates development team. Its a robust and scalable hosting platform that allows you to effectively govern your. (I couldn't add it directly to sites/default/settings.php, because that file doesn't exist until the site is actually installed in the database, which the script doesn't currently do.) $settings = [ Acquia Cloud is a leader in Enterprise Drupal Hosting Services. That allowed me to automatically get the default Valet local URL for the trusted_host_patterns setting-and display a link to the new site in the success message.Īt the code level, the change adds code like the below below to sites/default/. The trusted_host_patterns config fix was so similar, I thew it in as a bonus.Ī couple of notes: I changed the default site directory to auto_updates_dev (underscores instead of hyphens), which automatically works with Laravel Valet's* default settings. Fortunately, we can script that away setup_local_dev.sh. The missing Composer error will be particularly disruptive for new contributors since their site will fail validation by default and they'll have to immediately troubleshoot a "broken" setup. ![]() ![]() Acquia delivers digital services that meet the unique standards required by the public sector, without sacrificing the speed and usability standards set by the private sector. Acquia is the open source digital experience company. For more than 12 years, Acquia Cloud Platform has served as the best Drupal hosting solution in terms of performance, security and flexibility. A new site from a fresh Drupal clone is missing a couple of configuration settings in settings.php that result in errors on the "Status report" page: a "can't find Composer" validation failure and a missing trusted_host_patterns setting. A Government CX Platform Built Around Drupal.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |