I've been writing a Symfony app on Windows, now I am moving it across to an Ubuntu server.
I have been using this:
# Assetic Configuration
assetic:
debug: "%kernel.debug%"
use_controller: false
bundles: [ MyAppAuthenticationBundle ]
#java: /usr/bin/java
filters:
less:
node: C:\Program Files\nodejs\node.exe
node_paths: [C:\Users\User1\AppData\Roaming\npm\node_modules]
apply_to: "\.less$"
cssrewrite: ~
My question is:
Thanks
For Ubuntu, use this PPA for up-to-date stable node binaries.
Node.js provides pre-compiled binaries in a handy tarball. In a shell (with sudo):
curl -s http://nodejs.org/dist/latest/node-v0.10.29-linux-x64.tar.gz | tar xzf - --strip-components=1 --directory /usr/local
Obviously, plugin the Node.js version you want in that URL, and adjust the path if necessary for your system.