Skip to content

Instantly share code, notes, and snippets.

@martinbean
Created January 22, 2016 11:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martinbean/6da8d0c7c93aeb5ca1ca to your computer and use it in GitHub Desktop.
Save martinbean/6da8d0c7c93aeb5ca1ca to your computer and use it in GitHub Desktop.
Per-project Homestead after.sh and aliases
#!/bin/sh
cd 'project-dir'
composer install
php artisan migrate
php artisan db:seed
npm install --loglevel error
export DISABLE_NOTIFIER=true
gulp
alias h='cd ~'
alias artisan='php artisan'
alias migrate='artisan migrate'
alias seed='artisan db:seed'
alias tinker='artisan tinker'
alias phpunit='vendor/bin/phpunit'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment