Skip to content

Instantly share code, notes, and snippets.

@sheanhoxie
Last active February 28, 2019 16:07
Show Gist options
  • Save sheanhoxie/c90415123a2cbd692e270704f38908ad to your computer and use it in GitHub Desktop.
Save sheanhoxie/c90415123a2cbd692e270704f38908ad to your computer and use it in GitHub Desktop.
# 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