GRUNTROOT=public/theme/cnx # Needs npm, grunt, compass to be installed and executable by $WWW_USER on the servers # # Install with these commands: # sudo yum install npm # sudo npm install -g grunt-cli # sudo gem update —system # sudo gem install json_pure # sudo gem install compass # # On some systems like our VMs, it may be needed to add a symlinc. Otherwise $WWW_USER wont find compass: # sudo ln -s /usr/local/bin/compass /usr/bin chmod -R a+rwX $GRUNTROOT/assets || exit 1 sudo -u $WWW_USER grunt deploy --base $GRUNTROOT --gruntfile $GRUNTROOT/Gruntfile.js || exit 2