Tray: Difference between revisions

Jump to navigation Jump to search
1,112 bytes added ,  26 February 2015
Line 102: Line 102:


<source lang="php">
<source lang="php">
<?php
// config/app.php
// config/app.php
..
..
Line 109: Line 110:
..
..
</source>
</source>
I also like to add a link to <span class="package">artisan</span> PHP executable into my <span class="shell">~/bin</span> folder.
<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;">~/sanban</span><span style="color:#cccccc;">
$ ln -s artisan ~/bin/artisan.sanban && chmod u+x ~/bin/artisan.sanban
</span>
</div>
I add the application short name as an extension to <span class="package">artisan</span> because I have multiple instances of Laravel applications and create links to corresponding <span class="package">artisan</span> executables.
== Configuration ===
==== Name the application ====
I'm naming the application <span class="package">sanban</span>.
<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;">~/sanban</span><span style="color:#cccccc;">
$ artisan.sanban app:name sanban
</span>
</div>


== References ==
== References ==
<div class="references-small"><references /></div>
<div class="references-small"><references /></div>

Navigation menu