You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I just want to propose a new feature:
Redirect to the WordPress folder after vagrant ssh
After you run vagrant ssh and access to the virtual machine, you need to run: $ cd /vagrant/wordpress/ to access the WordPress folder. Yes, I know that they are synchronized and you can edit any file on your machine. But there are commands like wp-cli that need to be run in the virtual machine.
I think its a very good idea... can someone tell me how to do it, I will open a pull request after implementing. thanks!
The text was updated successfully, but these errors were encountered:
You can use WP-CLI like wp @vccw.test plugin list from host machine and you can use WP-CLI anywhere in the guest machine.
And also, if you edit wp-config.php like following.
define( 'DB_HOST', '192.168.33.10' );
You can use use WP-CLI command in wordpress directory from your host machine.
But if you have a more better solution to use WP-CLI, I will happy to see your PR.
Hello, I just want to propose a new feature:
Redirect to the WordPress folder after
vagrant ssh
After you run
vagrant ssh
and access to the virtual machine, you need to run:$ cd /vagrant/wordpress/
to access the WordPress folder. Yes, I know that they are synchronized and you can edit any file on your machine. But there are commands likewp-cli
that need to be run in the virtual machine.I think its a very good idea... can someone tell me how to do it, I will open a pull request after implementing. thanks!
The text was updated successfully, but these errors were encountered: