2017 © Pedro Peláez
 

library lamsaw

Lambo for Jigsaw

image

quickliketurtle/lamsaw

Lambo for Jigsaw

  • Monday, July 17, 2017
  • by quickliketurtle
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • Shell
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Lamsaw

Super-powered setup script for Jigsaw and Valet., (*1)

Installation

composer global require quickliketurtle/lamsaw

Upgrading

composer global update quickliketurtle/lamsaw

Usage

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)

What exactly does it do?

  • mkdir $PROJECTNAME
  • cd $PROJECTNAME
  • composer require tightenco/lambo
  • Initialize Jigsaw
  • Install node dependencies
  • Build local Jigsaw site
  • Initialize a git repo, add all of the files, and make a commit with the text "Initial commit."
  • Open $PROJECTNAME.$YOURVALETTLD in your browser

There are also a few optional behaviors based on the parameters you pass (or define in your config file)., (*4)

Optional Arguments

  • -h or --help to get the help dialog, (*5)

    lamsaw --help
    

Commands

  • make-config creates a config file so you don't have to pass the parameters every time you use Lambo, (*6)

    lamsaw make-config
    

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

After File

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)

Requirements

  • Mac or Ubuntu.
  • Requires Laravel Valet to be globally installed.

An Ubuntu fork of Valet can be find here, (*12)

Acknowledgements

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)

The Versions

17/07 2017

dev-master

9999999-dev

Lambo for Jigsaw

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Jeff Finley

lambo jigsaw