Open bondjimbond opened 4 years ago
re: How to create new multisites: Please see this method: https://github.com/Islandora-Collaboration-Group/drush-sitespinner
@dwk2 Trying this now... Instructions unclear.
Copy the provided sample alias file to ~/.drush/ (note: alias files are typically installed here, and the full path will resolve approximately to: /home/islandora/.drush/)
cp sitespinner/examples/sitespinner-sample.aliases.drushrc.php ~/.drush/sitespinner-sample.aliases.drushrc.php
Result:
cp: cannot create regular file '/root/.drush/sitespinner-sample.aliases.drushrc.php': No such file or directory
There is no ~/.drush/
directory in the ISLE Apache container... so where should it go?
I'm getting stymied by various inconsistencies in the Sitespinner docs vs. the ISLE environment.
First:
which drush
gets you /usr/local/bin/drush
drush
directory/usr/local/bin/sitespinner
?Assuming that /usr/local/bin/sitespinner
works, I have cloned it there. However...
Assuming it is, I have cloned it there.. The only user allowed to work there is root (which is the user that you come into the container as anyway, in a local install). So following those steps, I try the command drush sitespinner @sitespinner-mysite.template @sitespinner-mysite.mysite
and I get the error sh: 1: sudo: not found
- because I'm already root, and root can't sudo.
Removing sudo from all the commands in sitespinner.drush.inc
doesn't do anything; I guess the commands are cached somehow? And drush cc
doesn't fix it; the drush cache is cleared, but the same error comes up.
Issue description
Multisites are possible in ISLE, but the documentation for how to build them does not exist. I have a collection of steps from @dwk2, but they are incomplete.
Steps collected so far
Missing: Fedora Drupal filter, fixing the Hosts file to correctly incoming requests, setting up VHosts, probably some others??
I have tried following the directions I have, but cannot get any further than a 404.