You should already have these installed globally.
$ git clone email@example.com:andreiio/deploypress.git $ cd deploypress $ composer install
If you plan to develop on a local environment, you should also run the following command, to create the required shared folders and symlinks.
$ dep local:init
To view all the existing deployment commands and their descriptions, use:
$ dep list
More on deployer in the official docs.
All the deployment-related settings are stored in
config/deploy/hosts.example.yml as a starting point.
All the configuration values for WordPress are stored in the root
.env file. Use
.env.example as a starting point. On a deployed system, you should create a new
.env file and upload it to the
This doesn't ship with with themes or plugins, just the file structure you need to get started. Add new themes and plugins through wpackagist.org.
Cross-stage content sync
Using the included deployer tasks, you can do a one-way database sync between
$ dep db:pull production $ dep db:push staging
Same thing, but for the files in
$ dep files:pull production $ dep files:push staging
Please note that, by design, the pull methods only work on
production, while the push methods work on any non-
production stage. You *really* shouldn't upload staging content to production.