Problem/Motivation
Let's assume you are a first time Drupal user. You want to to install Drupal, so you google it:
Before installation.
Step 1: Download and extract Drupal.
Step 2: Create the database.
Step 3: Create settings.php and the files directory.
Step 4: Run the installation script.
Step 5: Setting up the files directory.
Step 6: Install Drupal in another language.
Step 7: Built-in Installation Profiles.
Let's compare that to many projects out there:
npm require X
npm install
🍷
The goal of this issue is to provide a similar experience for first time Drupal users.
This command might not be for you when you:
- Know how to run docker
- Have drush or drupal console installed on your machine
- You know already how to setup Drupal
Proposed resolution
The steps we need to execute are:
- Install Drupal (setting the file system up, creating a database, install some install profile)
- Start a webserver
Luckily there is SQLITE and the PHP built in webserver out there.
Detailed plan
- Ensure
composer install
was executed - Install Drupal using sqlite
- Start the PHP build in webserver using #1543858: Add a startup configuration for the built-in PHP server that supports clean URLs
- Communicate that as the simplest way to try out Drupal on your system by adding documentation to INSTALL.txt
How to test
- Apply patch
- Run
$ composer run-script dev-site
from the command line - Visit the URL printed out in the console in your browser.
Remaining tasks
Ensure that we don't kill an existing database