What is the easiest/quickest way to install clean Drupal from scratch on empty folder for testing purposes by using drush (without resorting to shell scripts or aliases).
Downloads Drupal, runs site install, launches a lightweight webserver, opens a browser and logs you in as 'admin'.
I might have answered
drush quick-drupal, but Clive said there might be a contest. :)
You may try the following few-line example:
$ drush -y dl && cd drupal-7* # Download Drupal and enter folder. $ drush -y si --db-url="sqlite://db.sqlite" --account-pass=admin # Install. $ drush rs # Run HTTP server.
Your site should be accessible under
Starting on a new, clean VM is another option with Vagrant. Once you have Vagrant / VirtualBox running, installing Drupal 6 to 7 is a breeze https://www.drupal.org/node/2008792
Update : With the fast development of Drupal 8, VDD mentioned above still works fine with Drupal 7 but does not support Drupal 8 anymore. If you want to quickstart a Drupal 8 website, prefer DrupalVM, it is much more maintained, is easy to configure (via Yaml settings) and covers the latest version of Drush (8) + have support for Apache or Nginx, Varnish, Solr, XDebug, XHProf, ...