Spea / SpBowerBundle

Symfony2 Bundle to handle asset dependencies with bower
231 stars 44 forks source link

Deploy to production system where bower is not available #48

Closed fdeberle closed 10 years ago

fdeberle commented 10 years ago

Currently we are facing the following situation:

Or is it really necessary to install node, npm and bower?

Spea commented 10 years ago

If you warming up the cache in production, this bundle needs bower to correctly create the json mapping. If you do not want to install bower in production, you need warm up the cache locally and move this to production (which may or may not work).

Are there any specific reasons why you don't want to install bower on the production server?

fdeberle commented 10 years ago

I simply prefer a more „defensive“ strategy for production systems: the less components, the less things to worry about. We have installed bower for the webserver user now, which works like expected.

Anyway, thanks for your answer!