Skip to content

Instantly share code, notes, and snippets.

@ScarletPonytail
Last active November 15, 2018 14:09
Show Gist options
  • Save ScarletPonytail/e760187afe18dd3aa8971b525d7320ca to your computer and use it in GitHub Desktop.
Save ScarletPonytail/e760187afe18dd3aa8971b525d7320ca to your computer and use it in GitHub Desktop.
Wordpress - Chassis
rm -rf /opt/vagrant
rm -f /usr/local/bin/vagrant
sudo pkgutil --forget com.vagrant.vagrant
Ref: https://www.vagrantup.com/docs/installation/uninstallation.html
Cheatsheet: https://gist.github.com/wpscholar/a49594e2e2b918f4d0c4
vagrant up -- Boot (power up) your virtual machine
vagrant halt -- Stop (power down) your virtual machine
vagrant ssh -- SSH into the machine to run commands.
vagrant global-status -- outputs status of all vagrant machines
vagrant sequel -- Show dbs
cd /chassis -- Change to working directory (run before running any other commands)
phpunit -- Run tests.
wp --url=scca.local -- Run wp-cli commands.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment