heroku-buildpack-julia

by pinx

GitHub Readme.md

Julia buildpack for Heroku

This is a Heroku buildpack for adding a Julia binary to your environment.

Versions

  • Buildpack: 0.2
  • Julia: 0.5.0

Usage

Add this line to the .buildpacks file in your project:

https://github.com/pinx/heroku-buildpack-julia.git

or use the command heroku buildpacks:set

In your project, create a file package.jl with any Julia code you want to run after installation. E.g. to add Postgres support:

Pkg.clone("https://github.com/JuliaDB/DBI.jl.git")
Pkg.add("DataArrays")
Pkg.clone("https://github.com/JuliaDB/PostgreSQL.jl.git")
using DBI
using PostgreSQL

Thanks

Inspiration for this buildpack was taken from:

I use these buildpacks on my dokku host.

License

MIT License