Laravel installation steps

$ curl -sS https://getcomposer.org/installer | php $ mv composer.phar /usr/local/bin/composer // Creates a new laravel project with latest stable inside of directory "myproject" $ composer create-project laravel/laravel myproject $ chmod -R 0777 app/storage // This is simply setting your environment - bootstrap/start.php $ find -name 'bootstrap/start.php' -print -exec sed -i 's/your-machine-name/localhost/g' {} \; # add machine-name to local env, for instance "localhost" // MAC OSX FRIENDLY VERSION: find bootstrap -name 'start.php' -exec sed -i '' -e 's/your-machine-name/localhost/g' {} \; // Set up a local environment $ mkdir app/config/local $ cp app/config/database.php app/config/local/database.php //Test

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.