Skip to content

Instantly share code, notes, and snippets.

View shengyou's full-sized avatar

Shengyou Fan shengyou

View GitHub Profile
cd ~/Homestead
bash init.sh
cd ~/Homestead
vagrant up
cd code
composer create-project laravel/laravel --prefer-dist
sites:
- map: homestead.local
to: /home/vagrant/code/laravel/public
192.168.10.10 homestead.local
vagrant reload --provision
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install nodejs