Automated Drupal cookbook

Hi, Is there any cookbook for Drupal that does the whole installation without going to http://<server_fqdn>/install.php manually after installation?

Went through the google results but none found to be automatic.
Actually many of them say its installed via drush, n i don’t know what that is. And even many of the posts add varnish, drush, …

I just want simple drupal installation.


@millisami
~ Sachin Sagar Rai
Ruby on Rails Developer
http://tfm.com.np
http://nepalonrails.tumblr.com
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

On Wed, Jan 11, 2012 at 11:34 AM, Sachin Sagar Rai millisami@gmail.com wrote:

Hi, Is there any cookbook for Drupal that does the whole installation
without going to http://<server_fqdn>/install.php manually after
installation?

Unfortunately this is a symptom of software being designed to have a
simple web interface for configuration that makes it difficult to
automatically configure it. This is because the developers naturally
then associate a web interface with a database, and these
configuration options are stored in deep, dark locations. But now that
there is a simple interface to change those, it doesn't come up that
it is hard to modify them through any other interface.

There is a drupal cookbook on the community site [1] that requires
manually browsing install.php. It also includes a recipe to install
drush. I'm not familiar with drupal, but from the drush web site it
appears to be a command line interface to drupal. Perhaps this /could/
be automated to configure drupal in lieu of the install.php page.

Bryan

[1] http://community.opscode.com/cookbooks/drupal

Hi,

If you want to install Drupal in a headless manner, then drush & drush make
are your best options. From the command line, from within your drupal site
root, you'd run:

$ drush site-install --db-url=mysql://root:pass@localhost:port/dbname

You can pass other parameters which are outlined here:
http://drush.ws/#site-install

The Drupal Vagrant cookbook contains some useful recipes -
http://drupalcode.org/project/vagrant.git/tree/refs/heads/7.x-1.x:/cookbooks -
which you should be able to pick apart to figure out what's happening.

Cheers,

Ben

====================
Benedict Steele
Director
HomeMade Digital

Skype: hyperdimensional
Telephone: +442071931431
Mobile: +44 7855 222278
Twitter: @benedictsteele @homemadedigital

On 11 January 2012 20:29, Bryan McLellan btm@loftninjas.org wrote:

On Wed, Jan 11, 2012 at 11:34 AM, Sachin Sagar Rai millisami@gmail.com
wrote:

Hi, Is there any cookbook for Drupal that does the whole installation
without going to http://<server_fqdn>/install.php manually after
installation?

Unfortunately this is a symptom of software being designed to have a
simple web interface for configuration that makes it difficult to
automatically configure it. This is because the developers naturally
then associate a web interface with a database, and these
configuration options are stored in deep, dark locations. But now that
there is a simple interface to change those, it doesn't come up that
it is hard to modify them through any other interface.

There is a drupal cookbook on the community site [1] that requires
manually browsing install.php. It also includes a recipe to install
drush. I'm not familiar with drupal, but from the drush web site it
appears to be a command line interface to drupal. Perhaps this /could/
be automated to configure drupal in lieu of the install.php page.

http://drupal.org/project/drush

Bryan

[1] http://community.opscode.com/cookbooks/drupal

Thanks for the info.
I'll look into this.


@millisami
~ Sachin Sagar Rai
Ruby on Rails Developer
http://tfm.com.np
http://nepalonrails.tumblr.com
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

On Thursday, January 12, 2012 at 2:14 AM, Bryan McLellan wrote:

On Wed, Jan 11, 2012 at 11:34 AM, Sachin Sagar Rai <millisami@gmail.com (mailto:millisami@gmail.com)> wrote:

Hi, Is there any cookbook for Drupal that does the whole installation
without going to http://<server_fqdn>/install.php manually after
installation?

Unfortunately this is a symptom of software being designed to have a
simple web interface for configuration that makes it difficult to
automatically configure it. This is because the developers naturally
then associate a web interface with a database, and these
configuration options are stored in deep, dark locations. But now that
there is a simple interface to change those, it doesn't come up that
it is hard to modify them through any other interface.

There is a drupal cookbook on the community site [1] that requires
manually browsing install.php. It also includes a recipe to install
drush. I'm not familiar with drupal, but from the drush web site it
appears to be a command line interface to drupal. Perhaps this /could/
be automated to configure drupal in lieu of the install.php page.

http://drupal.org/project/drush

Bryan

[1] http://community.opscode.com/cookbooks/drupal