-
-
Save ervinne13/708b29a8aa196ab637bff6cbef37d119 to your computer and use it in GitHub Desktop.
Sail Everywhere
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
$PWD/vendor/bin/sail $@ |
For mac, just change the chown to just the user:
sudo curl https://gist.githubusercontent.com/ervinne13/708b29a8aa196ab637bff6cbef37d119/raw/c2eba33d2a0286954ebebbda5be766ac4978ea50/sail -o /usr/local/bin/sail
sudo chown $USER /usr/local/bin/sail
sudo chmod +x /usr/local/bin/sail
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now as long as you're in a laravel folder with its dependencies installed, just execute:
sail up
sail bash
etc. directly without specifying
./vendor/bin/sail
.