-
-
Save nunomazer/3991fb3142625edd985b to your computer and use it in GitHub Desktop.
This file contains hidden or 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/sh | |
# Laravel 5 new project setup bash script. | |
# Inspired by Mitchell van Wijngaarden | |
# Extended by John in 't Hout | |
projectname=$1 | |
git clone -o laravel -b develop https://github.com/laravel/laravel.git ${projectname} >/dev/null | |
cd ${projectname} | |
git checkout --orphan master | |
rm -rf .git | |
git init | |
git add . | |
git commit -m "Initial commit" | |
composer install >/dev/null | |
npm install >/dev/null | |
php artisan key:generate | |
php artisan app:name ${projectname} | |
gulp phpunit | |
echo -e "############################ | |
All Done! Crafted a new Laravel 5 app for you! Called ${1} | |
############################"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment