Note: the buildpack also installs the GNU Compiler Collection 64-bit libraries because the default version that comes on a Heroku dyno does not include a Fortran compiler (which Octave requires).
This buildpack can be used in conjunction with other supported language stacks on Heroku by using the heroku-buildpack-multi buildpack.
$ heroku config:add BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi.git $ cat .buildpacks https://github.com/heroku/heroku-buildpack-nodejs.git https://github.com/wclark3/heroku-buildpack-octave-cedar14.git
You can also run Octave in the console as follows:
$ heroku run octave
I'm not sure why you would want to do this, but you can, and the guy that wrote the R buildpack has this feature so I figured it might be useful.
Currently on me. If you have any interest in helping please email me.
MIT License. Copyright (c) 2014-2015 Will Clark. See LICENSE for details.
Copy the snippet above into CLI.