Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293617

Provide a single command to install & run Drupal

$
0
0

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

How to test

  1. Apply patch
  2. Run $ composer run-script dev-site from the command line
  3. Visit the URL printed out in the console in your browser.

Remaining tasks

Ensure that we don't kill an existing database

User interface changes

API changes

Data model changes


Viewing all articles
Browse latest Browse all 293617

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>