Automatic installation and configuration

Hi all,

I'm trying to streamline some of the steps in starting a new SPIP project and was wondering if anyone has suggestions on automating the installation process.

I intend to completely automate the process of duplicating SPIP files, generating passwords, creating databases, and installing SPIP (with plug-ins) on our internal development server. I'm also planning to push sites from our development server to remote production servers. As it stands I've got the local file and database management tasks working fine but haven't been able to figure out how to automate the SPIP installation process.

Is the installation wizard amenable to scripting (i.e. a bunch of PHP functions that I can call in sequence passing in the configuration details)? If not, does anyone have suggestions about automating this? I'd rather avoid restoring a database dump and updating the details (if only because then I'm sensitive to schema changes).

Regards,

Thomas Sutton

Web Developer
bouncingorange
graphic + web design

Hi,

an option is to modify spip_loader.php.
( http://www.spip.net/spip-dev/INSTALL/spip_loader.php )
You can change the source of the zip file, and automate the generation of ecrire/connect.php
The only thing that you still have to do then is to create a default webmaster (ie. an admin user in spip_auteurs)

Another option exists and may be easier to maintain :
it’s using one installation of SPIP for several websites.
(a plugin makes it really easy : http://www.spip-contrib.net/La-mutualisation-facile )

.Gilles

On Wed, Feb 25, 2009 at 6:25 AM, Thomas Sutton <thomas@bouncingorange.com> wrote:

Hi all,

I’m trying to streamline some of the steps in starting a new SPIP project and was wondering if anyone has suggestions on automating the installation process.

I intend to completely automate the process of duplicating SPIP files, generating passwords, creating databases, and installing SPIP (with plug-ins) on our internal development server. I’m also planning to push sites from our development server to remote production servers. As it stands I’ve got the local file and database management tasks working fine but haven’t been able to figure out how to automate the SPIP installation process.

Is the installation wizard amenable to scripting (i.e. a bunch of PHP functions that I can call in sequence passing in the configuration details)? If not, does anyone have suggestions about automating this? I’d rather avoid restoring a database dump and updating the details (if only because then I’m sensitive to schema changes).

Regards,

Thomas Sutton

Web Developer
bouncingorange
graphic + web design


spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en