Skip to content

Instantly share code, notes, and snippets.

@stephensauceda
Created May 7, 2013 17:07

Revisions

  1. stephensauceda created this gist May 7, 2013.
    46 changes: 46 additions & 0 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,46 @@
    cd ~/Sites
    #-----
    # Go get my boilerplate from Github
    #-----
    git clone https://github.com/stephensauceda/html-base.git {query}

    cd {query}

    #-----
    # Get HTML5 Boilerplate .htaccess file
    #-----
    git clone https://github.com/h5bp/server-configs.git
    cp server-configs/apache/.htaccess .htaccess
    rm -rf server-configs

    #-----
    # Download dependencies and clean up directories
    #-----

    git clone https://github.com/scottjehl/Respond.git tmp/respond
    mv tmp/respond/respond.src.js js/respond.js

    git clone https://github.com/components/normalize.css.git tmp/normalize
    mv tmp/normalize/normalize.css tmp/normalize/normalize.scss
    mv tmp/normalize/normalize.scss sass

    git clone -b 1.9 https://github.com/components/jquery.git tmp/jquery
    mv tmp/jquery/jquery.js js

    rm -rf tmp

    #-----
    # Intialize repo, first commit
    #-----
    git init
    echo ".DS_Store
    .sass-cache" > .gitignore
    git add .
    git commit -m "first commit"

    #-----
    # Open in development environment
    #-----

    subl .
    /Applications/Codekit.app/Contents/MacOS/CodeKit .