Skip to content

Instantly share code, notes, and snippets.

@woraperth
Created November 18, 2015 14:47
Show Gist options
  • Save woraperth/b12c59f92b3d58906cba to your computer and use it in GitHub Desktop.
Save woraperth/b12c59f92b3d58906cba to your computer and use it in GitHub Desktop.
Working Movefile for Wordmove with SSH (MAMP to DigitalOcean)
local:
vhost: "http://localhost/xxx"
wordpress_path: "/Applications/MAMP/htdocs/xxx" # use an absolute path here
database:
name: "xxx"
user: "root"
password: "root"
host: "localhost"
staging:
vhost: "http://www.xxx.com/demo/xxx"
wordpress_path: "/home/admin/web/xxx.com/public_html/demo/xxx" # use an absolute path here
database:
name: "xxx"
user: "yyy"
password: "zzz"
host: "localhost"
# port: "3308" # Use just in case you have exotic server config
exclude:
- ".git/"
- ".gitignore"
- ".sass-cache/"
- "node_modules/"
- "bin/"
- "tmp/*"
- "Gemfile*"
- "Movefile"
- "wp-config.php"
- "wp-content/*.sql"
# paths: # you can customize wordpress internal paths
# wp_content: "wp-content"
# uploads: "wp-content/uploads"
# plugins: "wp-content/plugins"
# themes: "wp-content/themes"
# languages: "wp-content/languages"
# themes: "wp-content/themes"
ssh:
host: "123.456.789"
user: "xxx"
password: "yyy" # password is optional, will use public keys if available.
# port: 22 # Port is optional
# rsync_options: "--verbose" # Additional rsync options, optional
# gateway: # Gateway is optional
# host: "host"
# user: "user"
# password: "password" # password is optional, will use public keys if available.
# ftp:
# user: "user"
# password: "password"
# host: "host"
# passive: true
# production: # multiple environments can be specified
# [...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment