Skip to content

Instantly share code, notes, and snippets.

@sandrowuermli
Created May 11, 2018 19:39
Show Gist options
  • Save sandrowuermli/946ebe7688b60376d081e6704a14fa6e to your computer and use it in GitHub Desktop.
Save sandrowuermli/946ebe7688b60376d081e6704a14fa6e to your computer and use it in GitHub Desktop.
roots.io Bedrock Movefile for WordMove (I used it with Mamp Pro)
global:
sql_adapter: default
local:
vhost: http://example.test/wp
wordpress_path: /Users/username/Sites/example.com/web/wp # use an absolute path here
database:
name: database
user: root
password: "root" # could be blank, so always use quotes around
host: 127.0.0.1
port: 8889
paths: # you can customize wordpress internal paths
wp_content: ../app
uploads: ../app/uploads
plugins: ../app/plugins
mu_plugins: ../app/mu-plugins
themes: ../app/themes
languages: ../app/languages
staging:
vhost: https://staging.example.ccom
wordpress_path: /home/user/www/example.com/staging/web/wp # use an absolute path here
database:
name: database
user: user
password: passwort
host: user.mysql.db.example.com # External DB
# port: 3308 # Use just in case you have exotic server config
# mysqldump_options: --max_allowed_packet=1G # Only available if using SSH
paths: # you can customize wordpress internal paths
wp_content: ../app
uploads: ../app/uploads
plugins: ../app/plugins
mu_plugins: ../app/mu-plugins
themes: ../app/themes
languages: ../app/languages
exclude:
- '.git/'
- '.gitignore'
- ".github"
- ".gitkeep"
- '.sass-cache/'
- 'node_modules/'
- '/vendor/'
- 'bin/'
- '.idea'
- 'tmp/*'
- 'Gemfile*'
- 'Movefile'
- 'movefile'
- 'movefile.yml'
- 'movefile.yaml'
- 'wp-config.php'
- 'wp-content/*.sql.gz'
- '*.orig'
- ".bowerrc"
- ".DS_Store"
- ".editorconfig"
- ".jscsrc"
- ".jshintrc"
- ".eslintrc.js"
- ".travis.yml"
- "bower.json"
- "CHANGELOG.md"
- "CODE_OF_CONDUCT.md"
- "composer.json"
- "gulpfile.js"
- "LICENSE.md"
- "package.json"
- "README.md"
- "README-sage.md"
- "ruleset.xml"
- "bower_components/"
- "resources/assets"
- ".cache-loader"
- "uploads/cache"
- "phpcs.xml"
- "themes/twentyfifteen"
- "themes/twentysixteen"
- "themes/twentyseventeen"
# ssh:
# host: host
# user: user
# password: password # password is optional, will use public keys if available.
# port: 22 # Port is optional
# rsync_options: --verbose --itemize-changes# Additional rsync options, optional
# gateway: # Gateway is optional
# host: host
# user: user
# password: password # password is optional, will use public keys if available.
ssh:
host: ssl.example.com
user: user
production:
vhost: https://www.example.ccom
wordpress_path: /home/user/www/example.com/production/web/wp # use an absolute path here
database:
name: database
user: user
password: passwort
host: user.mysql.db.example.com # External DB
# port: 3308 # Use just in case you have exotic server config
# mysqldump_options: --max_allowed_packet=1G # Only available if using SSH
paths: # you can customize wordpress internal paths
wp_content: ../app
uploads: ../app/uploads
plugins: ../app/plugins
mu_plugins: ../app/mu-plugins
themes: ../app/themes
languages: ../app/languages
exclude:
- '.git/'
- '.gitignore'
- ".github"
- ".gitkeep"
- '.sass-cache/'
- 'node_modules/'
- '/vendor/'
- 'bin/'
- '.idea'
- 'tmp/*'
- 'Gemfile*'
- 'Movefile'
- 'movefile'
- 'movefile.yml'
- 'movefile.yaml'
- 'wp-config.php'
- 'wp-content/*.sql.gz'
- '*.orig'
- ".bowerrc"
- ".DS_Store"
- ".editorconfig"
- ".jscsrc"
- ".jshintrc"
- ".eslintrc.js"
- ".travis.yml"
- "bower.json"
- "CHANGELOG.md"
- "CODE_OF_CONDUCT.md"
- "composer.json"
- "gulpfile.js"
- "LICENSE.md"
- "package.json"
- "README.md"
- "README-sage.md"
- "ruleset.xml"
- "bower_components/"
- "resources/assets"
- ".cache-loader"
- "uploads/cache"
- "phpcs.xml"
- "themes/twentyfifteen"
- "themes/twentysixteen"
- "themes/twentyseventeen"
# ssh:
# host: host
# user: user
# password: password # password is optional, will use public keys if available.
# port: 22 # Port is optional
# rsync_options: --verbose --itemize-changes# Additional rsync options, optional
# gateway: # Gateway is optional
# host: host
# user: user
# password: password # password is optional, will use public keys if available.
ssh:
host: ssl.example.com
user: user
# hooks: # Remote hooks won't work with FTP
# push:
# before:
# local:
# - 'echo "Do something locally before push"'
# remote:
# - 'echo "Do something remotely before push"'
# after:
# local:
# - 'echo "Do something locally after push"'
# remote:
# - 'echo "Do something remotely after push"'
# pull:
# before:
# local:
# - 'echo "Do something locally before pull"'
# remote:
# - 'echo "Do something remotely before pull"'
# after:
# local:
# - 'echo "Do something locally after pull"'
# remote:
# - 'echo "Do something remotely after pull"'
# staging: # multiple environments can be specified
# [...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment