jcadima
8/9/2016 - 4:07 PM

New Laravel instalation

New Laravel instalation

1)  INSTALL A NEW LARAVEL PROJECT VIA COMPOSER
composer create-project laravel/laravel laraveltest --prefer-dist

1a) if composer needs an update: 
 /usr/local/bin/composer self-update
 


2) 
<VirtualHost laraveltest.dev>
    ServerName laraveltest.dev
    DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/laraveltest/public"
    DirectoryIndex index.php
    <Directory "/Applications/XAMPP/xamppfiles/htdocs/laraveltest/public">
        AllowOverride all
    </Directory>
</VirtualHost>



3)  if 500 server error:
chmod -R 777 storage