SyntaxC4-MSFT / ComposerExtension

Brings Composer Support to Azure Websites via a Site Extension
http://www.siteextensions.net
MIT License
15 stars 7 forks source link

composer create-project command doesn't work well with COMPOSER_VENDOR_DIR #3

Closed SyntaxC4 closed 6 years ago

SyntaxC4 commented 9 years ago

Now that the COMPOSER_VENDOR_DIR points out side of the wwwroot directory it drops files to the vendor folder, instead of dropping the files into the folder which was defined for creation.

SyntaxC4 commented 9 years ago

It seems that create-project works differently on Windows than it does on Linux. I need to reach out to the Composer team to see if I have something configured improperly

SyntaxC4 commented 9 years ago

After some deeper investigation, it looks like the COMPOSER_HOME, and COMPOSER_CACHE_DIR will need to be updated as %APPDATA% and %LOCALAPPDATA% are pointing to readonly locations.

SyntaxC4 commented 9 years ago

Changed the COMPOSER_VENDOR_DIR back to default. Added in Rewrite Rules to disallow traffic into the vendor folder. Next step is to test Create-project