Existing Drupal project (online) should be fetched from remote to work on it locally (like drowl-init-from-existing) easily.
The Drupal Project typically consists of:
composer.json
config
content
files
settings.php (server-side configuration)
As config and content are both contained in the database and are up to date there, for a first step we should concentrate on the database instead of fetching configuration.
Steps after 9 are equal to drowl-init-from-existing so perhaps it might make sense to select the source in the first step of drowl-init-from-existing => From local files or From Remote? if no such parameter (--local / --remote) is given.
Required information for fetching from remote:
SSH Login
Remote path to project
Database name (can be derived from remote settings.php)
Context:
Existing Drupal project (online) should be fetched from remote to work on it locally (like
drowl-init-from-existing
) easily.The Drupal Project typically consists of:
As config and content are both contained in the database and are up to date there, for a first step we should concentrate on the database instead of fetching configuration.
Steps after 9 are equal to
drowl-init-from-existing
so perhaps it might make sense to select the source in the first step ofdrowl-init-from-existing
=> From local files or From Remote? if no such parameter (--local / --remote) is given.Required information for fetching from remote:
Steps to take (UX - pseudo):
drowl-init-from-existing-remote
(difer
)/var/www/xz/123/abc/drupal
Further improvements (low prio):
Out of scope