Deploying Laravel workbench projects through composer -


i've created several private repos i'm working on through laravel 4.2's workbench feature.

how composer install/update git submodules in workbench dir on production server when updates vendor dir main project?

why force composer ?.

i guess have following project pattern.

project - a have many private repo (submodules). eg: can add blog module(individual private repo) submodule project - a .

like

git submodule add path_to_private_repo_for_blog  workbench/vendor_folder/blog. 

once created individual repo submodule above. can update using following command.

git pull && git submodule foreach git pull origin master 

so can update , deploy project -a following command.

git pull && git submodule foreach git pull origin master && git add -a && git commit -m 'updated pakages' && git push && envoy run update 

hope make sense..


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -