Created
January 11, 2016 17:56
-
-
Save rbarros/7fe55edeb0cab406fd71 to your computer and use it in GitHub Desktop.
Installing Laravel 5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Ubuntu Developer Script For Laravel 5 | |
# Ramon Barros | |
# contato [a] ramon-barros.com | |
# v0.1.0 | |
# | |
# Download and configures the following: | |
# | |
# curl | |
# composer | |
# php >= 5.5 | |
# | |
PROJECT="backup" | |
HOST_PATH=$(cd /var/www/) | |
URL_COMPOSER=curl -sS https://getcomposer.org/installer | php | |
# Add Laravel installer to composer | |
php composer.phar global require "laravel/installer" | |
# Create a project to Laravel | |
php composer.phar create-project --prefer-dist laravel/laravel $PROJECT | |
# | |
chmod -R 777 $PROJECT/storage | |
chmod -R 777 $PROJECT/bootstrap/cache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment