By kim.pepper on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.6.x
Issue links:
Description:
A new command to install and run Drupal was added.
In the instructions below, replace the version x.y.z with the specific version you wish to download. Example: drupal-8.6.x-dev.zip. You can find the latest stable version at https://www.drupal.org/project/drupal.
Download and extract the Drupal package:
$ curl -sS https://ftp.drupal.org/files/projects/drupal-x.y.z.zip --output drupal-x.y.z.zip
$ unzip drupal-x.y.z.zip
$ cd /path/to/drupal-x.y.z
$ php core/scripts/drupal quick-start
18/18 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓]
Congratulations, you installed Drupal!
Username: admin
Password: NlH5cmfEzsbS3DSs
Drupal development server started: <http://127.0.0.1:8888>
This server is not meant for production use.
One time login url: <http://127.0.0.1:8888/user/reset/1/1525772031/pyK4gRFkQSGGKJk0GhZRucybqROZ2zvV85JwQiD3bFY/login>
Press Ctrl-C to quit the Drupal development server.
Wait… installation can take a minute or two. A successful installation will result in opening the new site in your browser.
Run the following command for a list of available options that you may need to configure quick-start:
$ php core/scripts/drupal quick-start --help
NOTE: This quick start solution uses PHP's built-in web server and is not intended for production use.
Official documentation page: Drupal Quick Start
Impacts:
Site builders, administrators, editors
Comments
Error
I get the following error when I run
php core/scripts/drupal quick-start:~~~~
In install.core.inc line 2225:
PHP extensions: Disabled
Array
~~~~
What extensions need to be enabled? I'm guessing "Array" in the error message should actually be a list of the extensions.
Linux steps
I wonder if that error is because a PHP extension is not installed or not enabled? Anyway, these are the steps for Linux, perhaps it can help?
Linux steps
Install Git and required PHP packages, if needed:
sudo apt-get install git php7.0 php7.0-curl php7.0-dom php7.0-gd php7.0-mbstring php7.0-sqlite3Install Drupal Umami demo:
curl -sS https://ftp.drupal.org/files/projects/drupal-8.6.x-dev.zip --output drupal-8.6.x-dev.zipunzip drupal-8.6.x-dev.zip && rm drupal-8.6.x-dev.zipcd drupal-8.6.x-devphp core/scripts/drupal quick-start demo_umamiWhen you are done testing, close the PHP server with
CTRL + Zand delete the drupal-8.6.x-dev folder.Originally from https://www.drupal.org/project/drupal/issues/2911319#comment-12566146
Solved
I was definitely missing some extensions.
Wonderful!
Just tried this on MacOS High Sierra (10.13.4) and it worked like a charm. Nice job!
Will there be a
create-drupal-app, a la React, coming soon, too?Nice writeup in the change
Nice writeup, @kim.pepper. FYI, I've taken it pretty much as is and created a proposed community docs page on the topic. Comments/further improvements of course welcomed!
ownsourcing.com - Drupal training
Yes please!
Yes please!
I just think about this feature about 14 day later that I wish something like this!