spiritedmedia / systems

Code and documentation for building, deploying, and serving code.
1 stars 1 forks source link

Add `.wp-cli/config.yml` to `~` #48

Closed kingkool68 closed 6 years ago

kingkool68 commented 6 years ago

With WP CLI we can specify a global configuration file pointing to the path of our WordPress install. This means when SSHing into the server we don't need to navigate to the WordPress directory to issue wp cli commands.

Contents of ~/.wp-cli/config.yml should be the following:

path: /var/www/spiritedmedia.com/htdocs/