Joined July 2012
·

David Heward

David Heward at Bytewire Ltd
·
Essex, United Kingdom
·
·
·

Posted to Organise Your Code over 1 year ago

I agree. Use a preprocessor to organise files into smaller chunks during development. A contents may look nice but doesn't prevent large (excessive scrolling) in a CSS heavy project.

Posted to Install Laravel 4 with Ease over 1 year ago

I edited your snippet above for L3 and composer.

# Install laravel and configure
install-laravel () {
    echo "Installing Laravel into '$1'"

    git clone https://github.com/laravel/laravel.git $1
    cd $1

    # Required for getting L4 dev
    # git reset --hard HEAD
    # git checkout develop

    # Do the house cleaning
    chmod -R 0777 storage
    curl -sS https://getcomposer.org/installer | php
    php composer.phar
    touch composer.json
    echo "{
        \"require\": {

        }
    }" > composer.json
   php composer.phar install
   php artisan key:generate
   rm -rf .git
}
Achievements
49 Karma
0 Total ProTip Views
Interests & Skills