Conference Organizing Distribution and Quickstart

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
maylene's picture

My original post in the COD group: http://groups.drupal.org/node/178594

Essentially, I would like to test COD using Quickstart as my local dev environment. I have Quickstart installed successfully, and now, I'm trying to figure out how to use COD instead of the vanilla Drupal core to create a new site in Websites. I've read "drush help qc" for hints and searched drupal.org but haven't found anyone who has specifically used these two together.

Anyone able to point me in the right direction on this? It was suggested in the other thread that I post an issue at http://drupal.org/project/issues/quickstart, but I figure this isn't really an issue with Quickstart-- just me. :-)

Thanks in advance!

Comments

my kludge solution; 1/ use

niccolox's picture

my kludge solution;

1/ use Quickstart's Drush Make commands to make a vanilla D6 website http://cod.dev
2. download COD.tar.gz
3. delete contents of cod.dev - files etc
4. copy contents of COD into cod.dev
5. make a new DB using PHP Mysql admin thingy
6. change defaults.settings.php to settings.php in COD
7. make sure file permissions are all good, make sure you copied .htaccess (CTRL+H shows hidden files in Ubuntu)
8. browse to http://cod.dev and install as normal

its a kludgey workardound that kills the efficiency of the Drush Make approach, but it works

Thanks, niccolo!

maylene's picture

I'd just started doing the same-- thanks for outlining your steps. I've since run into a new issue related to the one at http://drupal.org/node/1249404. Guess I'll need to circle back to Quickstart at another time. Thanks again.

Good luck to you Maylene!

MichaelCole's picture

Good luck to you Maylene!

A couple of ways to do this:

MichaelCole's picture

Hi, Niccolo's suggestion is what I'd do if I only had to do it once.

Although, I'd save the settings.php file, delete the old files, copy new files, then copy settings.php. This would save the trip to phpmyadmin to make a new db and editing the settings.php file.

If I had to automate a build process, another way to do it would be to download the project make file and do a drush qc --domain=cod.dev --makefile= --profile=

There is a "Repository Viewer" link on each project that will take you somewhere like here: http://drupalcode.org/project/cod.git
Digging through the tree, I found the cod-stable.make file, and that's the file in the wget below. The README.txt says to choose the 'Conference Organizing' profile but it's wrong. From trying install.php it's 'Conference Organizing Distribution'.

This worked for me:

cd ~/websites
wget "http://drupalcode.org/project/cod.git/blob_plain/refs/heads/6.x-1.x:/cod-stable.make"
drush qc --domain=cod2.dev --makefile=cod-stable.make --profile=cod

In my quick testing, install wouldn't complete for the cod profile (either through drush quicktart-create, or drush site-install).

I had to install the COD profile manually so these would be the final commands to use:

cd ~/websites
wget "http://drupalcode.org/project/cod.git/blob_plain/refs/heads/6.x-1.x:/cod-stable.make"
drush quickstart-create dns apache code database --domain=cod2.dev --makefile=cod-stable.make
firefox http://cod2.dev/install.php

Alot of info, but there ya go. Installation profile's on Drupal.org don't expose the make file, or the profile name very well. They seem to be are intended as big downloads for manual installation, while Quickstart's commands are more towards automated installation.

Mike