welaika / wordmove

Multi-stage command line deploy/mirroring and task runner for Wordpress
https://wptools.it/wordmove
MIT License
1.87k stars 167 forks source link

wordmove doesn't do anything... #248

Closed bambamboole closed 8 years ago

bambamboole commented 8 years ago

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?

ghost commented 8 years ago

Do you have a staging environment defined? Post your Movefile with passwords redacted..

bambamboole commented 8 years ago
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
halvardos commented 8 years ago

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

connormckelvey commented 8 years ago

You also have to pass in what you want to push. Run wordmove help push for a list of options.

mukkoo commented 8 years ago

@bambamboole I close this issue. @connormckelvey answered to your questions.