php - Updating/Creating Additioanl .profile for laravel -
i'm trying create life easier adding path instead of having type in ~/.composer/vendor/bin/laravel
everytime terminal access laravel
installer menu can type in laravel
bring same laravel installer commands. have .profile file set point mamp pro's php module i'm unsure if have update additional line or if should creating new .profile page in different directory allow sense or happen.
file located here: ~/ .profile
export path=/applications/mamp/bin/php/php5.5.3/bin:$path
edit: have composer residing in ~/usr/bin/composer directory because when set within of ~/usr/local/bin/composer directory cannot type composer commands says don't exist. running on os x mavericks installation on mac. composer in directory in able run composer commands. have .profile file has above path within pointing mamp's php installation. i'm wanting able type in "laravel" terminal laravel installation tool instead of having type in
~/.composer/vendor/bin/laravel everytime saw on video have add together path everytime overwrites 1 have.
is there additional ideas pertain exporting situation.
curl -ss https://getcomposer.org/installer | php mv composer.phar /usr/local/bin/composer
remove current composer.phar or composer file , run 2 commands above.
if you're still getting command not found, wrong operating system.
php laravel composer-php mamp mamp-pro
No comments:
Post a Comment