Last active
August 29, 2015 14:25
-
-
Save marcosarce/d17b810ba973c78f09cf to your computer and use it in GitHub Desktop.
Revisions
-
marcosarce renamed this gist
Jul 23, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
marcosarce created this gist
Jul 23, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ cd /home/<username> # install composer curl -sS https://getcomposer.org/installer | php -- --install-dir=bin --filename=composer # get laravel using composer php bin/composer create-project laravel/laravel --prefer-dist # remove cPanel user's default public_html directory rm -rf public_html # create a symlink to the laravel application's public directory sudo -u <username> ln -s laravel/public public_html