Giter Club home page Giter Club logo

Comments (3)

dwk2 avatar dwk2 commented on June 20, 2024

re: How to create new multisites: Please see this method:
https://github.com/Islandora-Collaboration-Group/drush-sitespinner

from isle.

bondjimbond avatar bondjimbond commented on June 20, 2024

@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?

from isle.

bondjimbond avatar bondjimbond commented on June 20, 2024

I'm getting stymied by various inconsistencies in the Sitespinner docs vs. the ISLE environment.

First:

  • in ISLE there is no drush/commands folder.
  • which drush gets you /usr/local/bin/drush
  • There's no drush directory
  • So is Sitespinner just installed to /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.

from isle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.