Skip to content

Instantly share code, notes, and snippets.

@irms
Forked from trevorgreenleaf/gist:8513341
Last active August 29, 2015 14:15
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 irms/98efe55059bbe1ea8193 to your computer and use it in GitHub Desktop.
Save irms/98efe55059bbe1ea8193 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, use latest (as laravel >4.2 requires PHP >= 5.4)
// go into composer.json and update php to php-latest under "scripts"
php-latest -d allow_url_fopen=On composer.phar install
// generate a key for laravel
php-latest artisan key:generate
// change the path of the public to html
mv public html
Update 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