symfony2 assets:install output directory

symfony

Solution

You can set a path parameter to assets:install But I think in some case better not overriding the directory structure, preferably making a symlink to the web dir.

Problem

I am trying to change the default "web" directory of symfony to something else for example public_html. I got most of it working by following the manual here -> http://symfony.com/doc/master/cookbook/configuration/override_dir_structure.html Very last part of that document explains how to change assetic so that assetic:dump will output to the correct directory, so that works, and the website also works. However the document doesn't seem to explain how to change the output directory of the assets:install command. When i run this command it still outputs to the web directory. Does anybody know how to change this ?

Original source