Skip to content

Instantly share code, notes, and snippets.

@gersonazgo
Forked from trevorgreenleaf/gist:8513341
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gersonazgo/c38b83c2da9574f2096b to your computer and use it in GitHub Desktop.
Save gersonazgo/c38b83c2da9574f2096b to your computer and use it in GitHub Desktop.
Go into domain folder
transfer or run a new install of laravel
git clone https://github.com/laravel/laravel example.com && cd example.com
// get composer
curl -sS https://getcomposer.org/installer | php -d allow_url_fopen=On
// install composer
php -d allow_url_fopen=On composer.phar install
// generate a key for laravel
php artisan key:generate
// change the path of the public to html
mv public html
Update the bootstrap paths.php to point to html instead of public
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment