Sunday, 15 June 2014

node.js - using octave script with Heroku app -



node.js - using octave script with Heroku app -

i have web application trying force heroku relies largely on calling octave script. development/testing, using ec2 instance , node.js. on ec2 instance have installed octave.

however when force heroku , seek phone call octave script (via ajax call), error: https://devcenter.heroku.com/articles/error-codes#h13-connection-closed-without-response

i read heroku runs on aws instances, assuming possible somehow phone call octave script, since have done on own ec2 instance.

scattered documentation makes me think have tell heroku install octave when force heroku, not sure how this. in node start script (and if so, how)? or else missing?

edit: thinking may instead have done through heroku buildpack -- can confirm this?

edit 2: think reply need octave buildpack, similar to: https://github.com/virtualstaticvoid/heroku-buildpack-r octave instead of r. looks 1 not exist seek hand @ making custom buildpack.

yes, have utilize buildpack. made 1 allows run octave scripts:

https://github.com/wclark3/heroku-buildpack-octave-dynare

it includes dynare, macro-modeling package. if come across reply , need octave, fork repo , take out lines include dynare bin/compile.

node.js heroku amazon-ec2 octave

No comments:

Post a Comment