Last active
February 28, 2019 16:07
-
-
Save sheanhoxie/c90415123a2cbd692e270704f38908ad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Verified working in Drupal 8.6.1 - 8.6.10 | |
# To resolve the 'default domain not found' issue, | |
# create drushrc.local.php in sites/default | |
<?php | |
$options['uri'] = 'http://domain:8080'; | |
# and within drushrc.php add a check to see if | |
# local exists and include the newly created drushrc.local.php | |
$local_drushrc = __DIR__ . "/drushrc.local.php"; | |
if (file_exists($local_drushrc)) { | |
include $local_drushrc; | |
} | |
# Make sure drushrc.local.php is ignored by git so | |
# you don't push it to production |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment