Skip to content

tannerjfco/ddev

 
 

Repository files navigation

CircleCI Go Report Card project is maintained

ddev

The purpose of ddev is to help Drupal and WordPress developers abstract away the complexity and effort of adopting and maintaining a docker based local development stack. You can see all "ddev" usages using the help commands, like ddev -h, ddev start -h, etc.

Roadmap

Each DRUD product has a dedicated product owner, who serves as the primary advocate for customers and end-users when making decisions regarding the public roadmap. For the ddev roadmap, @rickmanelius is currently serving as the product owner.

We use the longer-term roadmap to prioritize short-term sprints. Please review the ddev roadmap and ddev issue queue to see what's on the horizon.

System Requirements

We are open to expanding this list to include additional OSs as well as improve our existing support for the ones listed above. Please let us know if you hit an issue!

Using ddev with other development environments

ddev requires ports 80 and 3306 to be available for use on your system when sites are running. If you are using another local development environment alongside ddev, please ensure the other environment is turned off or otherwise not using ports 80 and 3306.

If you need to use another environment after using ddev, simply ensure all of your ddev sites are stopped or removed. ddev only uses system ports when at least one site is running.

Installation

Installation Script - Linux and macOS

Linux and macOS end-users can use this line of code to your terminal to download, verify, and install ddev using our install script:

curl https://raw.githubusercontent.com/drud/ddev/master/install_ddev.sh | bash

Manual Installation - Linux and macOS

You can also easily perform the installation manually if preferred:

  • Download and extract the latest ddev release for your architecture.
  • Make ddev executable: chmod ugo+x ddev
  • Move ddev to /usr/local/bin: mv ddev /usr/local/bin/ (may require sudo), or another directory in your $PATH as preferred.
  • Run ddev to test your installation. You should see ddev's command usage output.

Manual Installation - Windows

  • Download and extract the latest ddev release for Windows.
  • Copy ddev.exe into %HOMEPATH%\AppData\Local\Microsoft\WindowsApps, or otherwise add ddev.exe to a folder defined in your PATH
  • Run ddev from a Command Prompt or PowerShell to test your installation. You should see ddev's command usage output.

Usage

➜  ddev
This Command Line Interface (CLI) gives you the ability to interact with the ddev to create a local development environment.

Usage:
  ddev [command]

Available Commands:
  config       Create or modify a ddev application config in the current directory
  describe     Get a detailed description of a running ddev site.
  exec         Execute a Linux shell command in the webserver container.
  hostname     Manage your hostfile entries.
  import-db    Import the database of an existing site to the local dev environment.
  import-files Import the uploaded files directory of an existing site to the default public upload directory of your application.
  list         List applications that exist locally
  logs         Get the logs from your running services.
  restart      Restart the local development environment for a site.
  remove       Remove an application's local services.
  sequelpro    Easily connect local site to sequelpro
  ssh          SSH to an app container.
  start        Start the local development environment for a site.
  stop         Stop an application's local services.
  version      print ddev version and component versions

Use "ddev [command] --help" for more information about a command.

Getting Started - Documentation

Once you've installed ddev, check out the ddev Documentation Site for information on how to get started and how to use ddev.

Support

If you've encountered trouble using ddev, please use these resources to get help with your issue:

  1. Please review the ddev Documentation to ensure your question isn't answered there.
  2. Review the ddev issue queue to see if an issue similar to yours already exists.
  3. If you've exhausted these options and still need help, please file an issue following the pre-populated guidelines and our Contributing Guidelines as best as possible.

Contributing

Interested in contributing to ddev? We would love your suggestions, contributions, and help! Please review our Guidelines for Contributing, then create an issue or open a pull request!

About

DDEV-Local: a local PHP development environment system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 88.4%
  • Makefile 9.1%
  • Shell 2.5%