sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Download zsh-autosuggestions by
| # Change to the project directory | |
| cd /home/forge/domain.com | |
| # Turn on maintenance mode | |
| php artisan down | |
| # Pull the latest changes from the git repository | |
| # git reset --hard | |
| # git clean -df | |
| git pull origin master |
This gist shows how to connect to your vagrant MySQL database from the host machine.
vagrant ssh/etc/mysql/my.cnf:
bind-address to 0.0.0.0 to allow all incoming connection attempts