Posted by iantresman on March 9, 2008 at 3:23pm
Can I create a configuration file, which contains information such as (a) all installed modules (b) how Drupal and(c) the modules are configured?
I want to be able to send the file to someone else so they can recreate my Drupal set-up from a fresh install.
Comments
=-=
This seems to be to be a difficult request. All settings are in the DB. That said I don't see how you would extract specific information from the DB then write it to another in pieces.
My suggestion would be to create a white paper for someone else to follow walking them through each set up step.
The only other way I can think to accomplish this would be a test site export of the DB witout the users table, though I've not tested. They'd also have to be sent, or told to download the same versions of any contrib modules in use.
Seems like more trouble than it's worth. I'd go with a white paper.
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
If settings are stored in
If settings are stored in the database, then as long as I give my colleague a copy, and their Drupal configuration has the same modules as mine, then the settings should be reproduced.
Depends
It depends on what you're trying to do.
If this is a one-time effort, (a) make a backup database, (b) switch to that database and delete any unwanted content, and (c) dump the database as SQL. Use that database dump to create the new site.
Alternatively, learn to write install profiles:
http://drupal.org/node/67921
And I guess I can just copy
And I guess I can just copy and paste the list of modules I use from the Modules page, and once they have been installed, uploading my saved database should recreate everything,
It would be nice if an "Install profile" could be recreated from the current Drupal installation.
=-=
investigate the install profile api.module in the downloads area.
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )