User login

Download and install Drupal in one step

Drubuntu has a 'site add' functionality, but aside from being limited to Drubuntu it does as a multisite (no thanks) with the site's settings.php and files weirdly symlinked to a directory sitting alongside the download itself. (Ah, i just realize that it probably adds all sites to this one multisite.)

After thinking i had to rewrite a good chunk of the Drush site install command so it would actually work (and not quit whining that it had no settings.php or files directory, even though i could see it had the code to create it), Boz Hogan showed me how to use drush si correctly, having just read about it in this great book, Definitive Guide to Drupal 7. In a chapter i wrote.

So now i'm simply trying to wrap these Drush commands and basic other steps in another Drush command that makes it simpler (and only one command).

I think it will live in the Scaffolding Drush project (an initial attempt at the command, drush scaffolding-install-drupal, is in there. Used with an alias and passing in the name to give your new Drupal install it looks like drush sid projectname).

Searched words: 
one drush command to install test site

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Syntax highlight code surrounded by the {syntaxhighlighter SPEC}...{/syntaxhighlighter} tags, where SPEC is a Syntaxhighlighter options string or "class="OPTIONS" title="the title".
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.