Joined July 2012
·
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

Cub
Have at least one original jQuery or Prototype open source repo

Nephila Komaci
Have at least one original repos where PHP is the dominant language

Nephila Komaci 3
Have at least three original repos where PHP is the dominant language

Forked
Have a project valued enough to be forked by someone else

Charity
Fork and commit to someone's open source project in need
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.