title: TexLive on Heroku etc. - What are my options ?
body: <p>I am trying to build a Rails application that would internally invoke LaTeX
  to stitch together TeX files to generate documents on the fly. Not necessarily PDF.
  Just TeX -> DVI -> PS would do it for me.</p>
  
  <p>My best guess is that I would need to host 2 separate code-bases, one for 
  Rails code ( the standard $RAILS_ROOT ) and (possibly) a separate directory structure 
  for hosting the TeX files ( which is also code in a way ). And as I see it,
  the Rails app would make system calls to LaTeX (<code>latex &lt;options&gt; &lt;files&gt;</code>) 
  on the TeX files to do what I want it to do</p>
  
  <p>I was wondering, therefore, if you guys could help me decide what the 
  best hosting option could be for the above setup ( unless, you think that
  the setup itself should be different )</p>
  
  <p>I know that something like Heroku would allow me to host the Rails bit easily. 
  But as far as I can tell, their servers do not have full TexLive installation which I need.
  I have asked them if they could install TexLive on their servers. But assuming
  they don't entertain one off requests, what are my options ? </p>
  
  <p>Do I then need to recreate my local setup from scratch on something like Amazon's EC2 ?<br>
  Any pointers on available options and the tasks they would entail would be most 
  helpful. </p>
  
  <p>Thanks 
  Abhinav</p>