-
Notifications
You must be signed in to change notification settings - Fork 2
/
movefile.yml
52 lines (44 loc) · 1.8 KB
/
movefile.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# This is a template movefile.yml for wordmove (https://github.com/welaika/wordmove)
# Put it in your local Vagrant environment (e.g. VVV), in the root folder of the WordPress install you want to push/pull
# Some options have been set to match VVV as local and AWS as production, but you will need to modify them or others to get it to work for your situation
# You must at least change anything with XXX in it
global:
sql_adapter: default
local:
# put your local development site URL below, with NO trailing /
vhost: "http://local.wordpress.test"
wordpress_path: "/vagrant/www/wordpress-default/public_html" # use an absolute path here
database:
name: "wordpressdefault"
user: "root"
password: "root"
host: "localhost"
production:
# add your AWS IP or DNS or Dynamic DNS name (however you access your site) below
vhost: "http://XXX.ap-southeast-2.compute.amazonaws.com"
wordpress_path: "/var/www/html" # use an absolute path here
database:
# the following values are the same as the defaults in config.sh, so change them here if you changed them there
name: "wpdb"
user: "wpdbuser"
password: "wpdbuser"
host: "localhost"
ssh:
# add your AWS IP or DNS below (same as above but with NO http://)
# you will notice there's no "password". You must first setup passwordless SSH access.
host: "XXX.ap-southeast-2.compute.amazonaws.com"
user: "ubuntu"
rsync_options: "--chmod=ugo=rwX" # Additional rsync options to preserve permissions (ignore any errors about this)
exclude:
- .git/
- .gitignore
- .sass-cache/
- node_modules/
- bin/
- tmp/*
- Gemfile*
- movefile.yml
- wp-config.php
- wp-content/*.sql
# staging: # multiple environments can be specified; copy the values from production and adjust as needed
# [...]