Wallogit.com
2017 © Pedro Peláez
Lambo for Jigsaw
Super-powered setup script for Jigsaw and Valet., (*1)
composer global require quickliketurtle/lamsaw
composer global update quickliketurtle/lamsaw
Make sure ~/.composer/vendor/bin is in your terminal's path., (*2)
cd ~/Sites lamsaw superApplication
This will create a new directory, change into that directory, composer require Jigsaw, make an initial Git commit, and open your web browser to that app., (*3)
mkdir $PROJECTNAMEcd $PROJECTNAME$PROJECTNAME.$YOURVALETTLD in your browserThere are also a few optional behaviors based on the parameters you pass (or define in your config file)., (*4)
-h or --help to get the help dialog, (*5)
lamsaw --help
make-config creates a config file so you don't have to pass the parameters every time you use Lambo, (*6)
lamsaw make-config
You can create a config file at ~/.lamsaw/config rather than pass the same arguments each time you create a new project., (*7)
lamsaw make-config
You can create an after file at ~/.lamsaw/after to run additional commands after you create a new project., (*8)
lamsaw make-after
The after file is a bash script so you can include any commands here such as installing additional composer dependencies, (*9)
# Install additional composer dependencies as you would from the command line. echo "Installing Composer Dependencies" composer require tightenco/mailthief tightenco/quicksand
or copying additional files to your new project., (*10)
# To copy standard files to new lambo project place them in ~/.lambo/includes directory. echo "Copying Include Files" cp -R ~/.lambo/includes/ $PROJECTPATH
You also have access to variables from your config file such as $PROJECTPATH and $CODEEDITOR., (*11)
An Ubuntu fork of Valet can be find here, (*12)
Inspired by tightenco/lambo which is Inspired by Taylor Otwell and Adam Wathan's work on Valet., (*13)
Name inspired by Lambo's Name from TJ Miller, inspired by Taylor's love for the lambo., (*14)
, (*15)