Repository navigation
Closed
Description
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
Task
Information:
We need the the ability to create ddev environments from a 'local' resource plugin
What you expected to happen:
Using a git checkout of a Drupal site on the local filesystem you should be able to perform a ddev add and have a functional local development environment. The primary focus of this issue is to get local site installs working.
Done criteria:
- Latest versions of both D7 and D8 sites should work with this local plugin
- MySQL connection information should be printed alongside the site URL to assist the user in installing Drupal
- Pulling in assets such as a DB dump or a files backup is not required for this, but if it makes sense/saves time then it's fine as a stretch goal.
- Wordpress support is not a requirement for this ticket, but also fine as a stretch goal.
- Automated tests roughly at parity with ddev tests with newmedia plugin
Additional decisions:
- [decided] the user will be responsible for maintaining their own git checkout, not
ddev
Tasks for this issue:
- Complete platform pkg re-org and initial local file plugin #41 - initial re-org and local file plugin.
- Evaluate Use dcfg in-container for app configurations #24 and overall define our config file spec.
- Rework current workspace approach to facilitate site working directory approach #47 Rework current workspace approach to facilitate site working directory approach.
- Remove import functionality from ddev add/start #48 Update the
addcommand tostart, remove db/file import steps - Create
ddev configcommand #57 Create a newconfigcommand that will write our yml config based on prompted values - Add tests for
ddevapppackage #85 Add tests forddevapppackage - Reintroduce binary-based test coverage #83 Add binary based test coverage again
Testing approach
- Should have tests to ensure the install page returns the correct HTTP status (both D7 and D8)
- Should parse MySQL connection info from the CLI output and ensure the connection is working
- Dependent on git checkout decision point, update test to pull in a sample d7/d8 code base
Activity
[-]Create 'local' platform plugin[/-][+]Create 'local' platform plugin and tests[/+]beeradb commentedon Feb 27, 2017
Adding one additional reviewer since this becomes more important to get right + document properly with the removal of the existing "legacy" plugin.
reviewers:
@cyberswat
@tannerjfco
@beeradb
rickmanelius commentedon Mar 28, 2017
Testing of the end-to-end v0.1 functionality can be found here https://docs.google.com/document/d/1KkuFz3ji-Qk5Em5X61uhDQRNImH4T-wFAJFpMJEaCsk/edit#. TL;DR, we're ready to officially close out v0.1!
beeradb commentedon Mar 28, 2017
This has been completed!