Laravel 5: Difference between revisions

572 bytes added ,  27 February 2015
Line 58: Line 58:
Instead of adding <span class="shell">~/.composer/vendor/bin</span> to the PATH environment variable, I simply made a symbolic link to it in <span class="shell">~/bin/</span> folder.
Instead of adding <span class="shell">~/.composer/vendor/bin</span> to the PATH environment variable, I simply made a symbolic link to it in <span class="shell">~/bin/</span> folder.


<source lang="bash">
<div class="cli">
<span style="color:#00ff00;">mhan</span><span style="color:#444444;">@</span><span style="color:#00cccc;">brahms</span><span style="color:#999999">:</span><span style="color:blue;">/srv/www</span><span style="color:#cccccc;">
$ ln -s ~/.composer/vendor/bin/laravel ~/bin/laravel
$ ln -s ~/.composer/vendor/bin/laravel ~/bin/laravel
</source>
</span><br>
 
<span style="color:#00aa00;">Crafting application...</span><br>
<span style="color:#cccccc;">
Generating optimized class loader<br>
Compiling common classes<br>
Compiling views<br>
Application key [CJwBsllwDbWLlxy7zH7zRATmSu2laUyA] set successfully.<br>
<span style="color: yellow">Application ready! Build something amazing.</span>
</span>
</div>
Create a new Laravel application. For whatever reason the application key doesn't seem to set even though it says so. I had to do this manually later.
Create a new Laravel application. For whatever reason the application key doesn't seem to set even though it says so. I had to do this manually later.