Re: Workflow for compressing JavaScript and CSS using YUI Compressor prior to deployment

2009-08-14 Thread Grant Heaslip
What we were doing before was combining all of the JavaScript (including jQuery) into one file then compressing it. I agree that it might make more sense to use the Google libraries for jQuery (though having outside dependencies, however solid, doesn't sit well with me), but we still have our own s

Re: Workflow for compressing JavaScript and CSS using YUI Compressor prior to deployment

2009-08-13 Thread Keenan Brock
Hi Grant, I was about to write a follow up on that one - I'm pretty sure they do not have Java installed. I was quick to jump the gun and show how to generate content and serve it up. After I looked at the project I realized the java predicament. http://compressorrater.thruhere.net/ points t

Re: Workflow for compressing JavaScript and CSS using YUI Compressor prior to deployment

2009-08-13 Thread Grant Heaslip
Thanks Keenan. Does Heroku have Java installed on their servers (YUI Compressor runs on Java)? If not, any suggestions on other compressors to look into? On Thu, Aug 13, 2009 at 10:29 PM, Keenan Brock wrote: > I was able to put some files into tmp/generated and ln -s from public to > the tmp dir

Re: Workflow for compressing JavaScript and CSS using YUI Compressor prior to deployment

2009-08-13 Thread Keenan Brock
I was able to put some files into tmp/generated and ln -s from public to the tmp directory. I did git check in the link Generate to tmp generated You could link individual files or have a whole directory like scripts/ generated link to tmp/generated --K On Aug 13, 2009, at 2:32 AM, Grant He

Workflow for compressing JavaScript and CSS using YUI Compressor prior to deployment

2009-08-13 Thread Grant Heaslip
I previously used a great Rails plugin called yui_compressor_fu ( http://github.com/maxim/yui_compressor_fu/) to combine and compress my JavaScript and CSS the first time it was loaded in production, but since Heroku doesn't allow access to the filesystem, I need to figure out a new solution. The m