fxpio / foxy

A fast, reliable, and secure NPM/Yarn/pnpm bridge for Composer
https://foxypkg.com
MIT License
173 stars 21 forks source link

How to run composer install on production systems? No npm, yarn, ... available. #16

Closed Defcon0 closed 6 years ago

Defcon0 commented 6 years ago

Hello,

I recently installed my project to the live system. Now I want to do a composer install. Unfortunately now everytime the composer hook runs and looks for yarn or npm (which of course are both not installable on a live server). Is there any flag to deactivate foxy while running composer install?

Removing the foxy section from composer.json didn't help either :-(

Bye Defcon0

schmunk42 commented 6 years ago

Can be overridden by FOXY__ENABLED="false" environment variable.

https://github.com/fxpio/foxy/blob/71b8792664bf2fce286a6cdb0ac5201156f6e37c/Resources/doc/config.md#define-the-config-in-a-environment-variable

Defcon0 commented 6 years ago

Thanks :-)