Since Panopoly is so big and involves so many modules it would be great if we could rely on a build tool to build a Panopoly site for us. Drush is an excellent tool for Drupal that includes the "site-install" (or si) command which can be used as a build tool for building sites based on Drupal distributions.

Let's help advanced developers out by including the proper one-liner they would need to use drush to install Panopoly via the command line. These days, if they have properly installed drush, they would have needed to get to the command line anyway (see: https://github.com/drush-ops/drush#installupdate---composer ). Having this documentation on the project page would make it a lot easier for intermediate and advanced developers to get started.

Thoughts?

Comments

cosmicdreams’s picture

Issue summary: View changes
mglaman’s picture

Note: the following is taken from my Drupal contrib PuPHPet Vagrant setup, https://github.com/mglaman/drupal-puphpet

Assuming in "scripts" folder, profiles are below in own folder.

Checks out Panopoly, builds it.

#!/bin/sh

echo "Checking out latest of Panopoly distribution..."
git clone --branch 7.x-1.x http://git.drupal.org/project/panopoly.git ../profiles/panopoly

echo "Building development version of Panopoly distribution..."
rm -rf ../sites/panopoly
cd ../profiles/panopoly/ && sh build.sh ../../sites/panopoly

Drush installation command, assumes domain and sites directory of "panopoly.dev"

#!/bin/sh
drush @drupal.panopoly si panopoly --debug --site-name="Panopoly.dev" --sites-subdir="panopoly.dev" --db-url="mysql://panopoly:panopoly@localhost/panopoly" --account-pass="admin" -y
dsnopek’s picture

Category: Support request » Task

Reclassifying as a Task, since this is about updating the docs.