Skip to content

Instantly share code, notes, and snippets.

@sabid
Last active August 29, 2015 14:03
Show Gist options
  • Save sabid/218055ec023ba5412bea to your computer and use it in GitHub Desktop.
Save sabid/218055ec023ba5412bea to your computer and use it in GitHub Desktop.
Laravel New Instaltion from laravel.phar
$curl -O http://laravel.com/laravel.phar
$ chmod 755 laravel.phar
$ mv laravel.phar /usr/local/bin/
$ sudo laravel new myl4site
Crafting application...
Application ready! Build something amazing.
$ ls myl4site
Permissions for laravel storage folder
sudo chmod -R 777 app/storage
Environment Configuration
Comandd in teminal: hostname
File: bootstrap/start.php
<?php
$env = $app->detectEnvironment(array(
'local' => array('your-machine-name'),
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment