Closed bambamboole closed 8 years ago
Do you have a staging environment defined? Post your Movefile with passwords redacted..
local:
vhost: "http://local.dev"
wordpress_path: "/local/path/to/my/wordpress" # use an absolute path here
database:
name: "localDbName"
user: "root"
password: ""
host: "127.0.0.1"
production:
vhost: "http://remote.com"
wordpress_path: "/remote/path/to/my/wordpress" # use an absolute path here
database:
name: "remoteDbName"
user: "user"
password: "pw"
host: "mysql5.remote.com"
exclude:
- "wp-config.php"
ssh:
host: "remote.com"
user: "ssh-user"
password: sshPassword # password is optional, will use public keys if available.
port: 22 # Port is optional
rsync_options: "--verbose" # Additional rsync options, optional
You define the environment in your movefile, you have defined only one remote: "production", so when you are trying to push to "staging" there is no environment with that name.
Do:
wordmove push -e production
You also have to pass in what you want to push. Run wordmove help push for a list of options.
@bambamboole I close this issue. @connormckelvey answered to your questions.
I just found this repo and was so happy because this gem does exactly what I need not more and not less...
but after wordmove init and customizing wordmove file i ran:
wordmove push -e staging
and the output is only
▬▬ ✓ Using Movefile: ./Movefile ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
anybody knows what i am doing wrong?