[development] Install profiles tutorial for Drupal 4.7, Friday 8AM PST

Kieran Lal kieran at civicspacelabs.org
Sun Jun 11 19:56:54 UTC 2006


On Jun 11, 2006, at 10:44 AM, Bèr Kessels wrote:

> Can someone from CS explain how they envision to serve the middle  
> tier?

It's a PHP script that can be run from the command line.  It  
currently has a basic form for boot strapping Drupal to the Database  
first.  Command line options could be added easily.  Then it allows  
for individual modules to inject configuration forms from  
the .install.  You might want these values filled out by the script  
but most likely you'll want them filled out by users.

Writing a PHP script to fill out settings.php isn't the hard part,  
it's bootstraping Drupal, requirements checking, profile support, and  
getting the Forms API loading while you are connecting to the DB  
that's challenging.

> How we can use their install system in a musltisite hosting?

Write a multi-site settings.php for each site based on a template  
like you have in the Sympal scripts already.  Then pick up the  
installation at the point of selecting the installation profile.

> Or wit some 3rd party installation and configuration script?

For mass hosting it's really just the DB bootstrap that you need to  
configure and that's straight forward scripting for different  
provisioning systems.

Kieran



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20060611/0106fe1e/attachment.htm


More information about the development mailing list