Skip to content

Commit

Permalink
Add quickstart for PHP project [skip ci][ci skip] (#1573)
Browse files Browse the repository at this point in the history
  • Loading branch information
rfay committed May 8, 2019
1 parent f3c9b0d commit 07ac366
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion docs/users/cli-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,25 @@ Type `ddev` or `ddev -h`in a terminal windows to see the available ddev commands

## Quickstart Guides

These are quickstart instructions for WordPress, Drupal 6, Drupal 7, Drupal 8, TYPO3, and Backdrop.
These are quickstart instructions for generic PHP, WordPress, Drupal 6, Drupal 7, Drupal 8, TYPO3, and Backdrop.

**Prerequisites:** Before you start, follow the [installation instructions](../index.md#installation). Make sure to [check the system requirements](../index.md#system-requirements), you will need *docker* and *docker-compose* to use ddev.

### PHP Project Quickstart

DDEV works happily with most any PHP or static HTML project, although it has special additional support for several CMSs. But you don't need special support if you already know how to configure your project.

1. Create a directory (`mkdir my-new-project`)
2. cd into the directory
3. `ddev config`
4. Get initial code:
* Clone your project into the current directory
* Or build it with `ddev composer create <package_name>`
5. `ddev start`
6. Configure any database settings; host='db', user='db', password='db', database='db'
7. If needed, import a database with `ddev import-db`
7. Visit the project and continue on.

### WordPress Quickstart

**Git Clone Example**
Expand Down

0 comments on commit 07ac366

Please sign in to comment.