Skip to content

Instantly share code, notes, and snippets.

@hal0gen
Created June 30, 2016 15:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save hal0gen/29c05464a85c527e90d635afc4a20d52 to your computer and use it in GitHub Desktop.
Save hal0gen/29c05464a85c527e90d635afc4a20d52 to your computer and use it in GitHub Desktop.
Wordmove + Bedrock + Capistrano: using Wordmove for DB and assets, Capistrano for all the rest
source 'https://rubygems.org'
gem 'capistrano', '~> 3.4.0'
gem 'capistrano-composer'
gem 'wordmove'
local:
vhost: "http://example.dev"
wordpress_path: "/path/to/example/web"
database:
name: "example-local"
user: "example-local"
password: "example-local"
host: "127.0.0.1"
paths:
wp_content: "wp/wp-content"
uploads: "app/uploads"
plugins: "app/plugins"
mu_plugins: "app/mu-plugins"
themes: "app/themes"
languages: "app/languages"
production:
vhost: "http://example.com"
wordpress_path: "/var/www/example/current/web"
database:
name: "example-prod"
user: "example-prod"
password: "example-prod"
host: "localhost"
paths:
wp_content: "wp/wp-content"
uploads: "app/uploads"
plugins: "app/plugins"
mu_plugins: "app/mu-plugins"
themes: "app/themes"
languages: "app/languages"
ssh:
host: "example.com"
user: "username"
password: "password"
port: 22
rsync_options: "--verbose"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment