On Mon, Aug 9, 2010 at 6:41 PM, Jacob Hodes <[email protected]> wrote:

> Hi,
>
> I'm developing a Rails app that makes use of a command-line tool
> called Graphviz (http://www.graphviz.org). Changes get made in the
> Rails app, then a background job is fired which runs graphviz as a
> system command. graphviz generates a graph and saves it to a file.
> Then I upload the file back into my Rails app.
>
> I know Heroku's filesystem is read-only, no ssh access, etc. Given
> these limitations, what's the best approach to take?
>
> I see I can use S3 for file storage. But how about finding a way to
> use this command-line utility? I'm highly doubting Heroku would
> install such a thing, right? Any alternative ideas?
>

One idea I can think of is to wrap GraphViz in a web service and install it
in a seperate hosting service.

An alternative idea: Heroku lets you use sqlite/memory databases. Its not
a supported option, but they do work, and I would say the limitations are
severe (I doubt Delayed Jobs would see them).

You could upload the information that GraphViz needs to process into the DB.
I am uncertain how you could get the GraphViz CLI app to use it, but perhaps
GraphViz has a library/gem which has less restrictive use?


> Thanks for your thoughts,
> Jacob
>
> --
> You received this message because you are subscribed to the Google Groups
> "Heroku" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<heroku%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en.
>
>


-- 
http://richardconroy.blogspot.com

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to