Home

Awesome

This is a simple utility to deploy your Interact.jl apps to Heroku.

Usage

Pre-requisites

You need to have heroku-cli installed before using this script. You can follow the instructions here to install it. Also, after you've installed heroku-cli make sure you are logged in. You can simply run heroku login in order to do that.

You also need to have git installed. You can follow the instructions here to install git.

Apart from these, I expect you should already have Julia installed and has been added to the $PATH variable.

Instructions

To create a new Project.toml for you app, do follow the below steps below in the root directory of the app:

julia> using Pkg;

julia> Pkg.activate(".")

julia> Pkg.add("foo")

julia> Pkg.add("bar")

This will create both of the files in that directory with the packages foo and bar as your dependencies. You should add all of your packages this way.

julia script.jl path/to/test-dir my-new-app

That's it. This will do most of the work and will deploy your app on heroku. You can watch the log to see if everything went fine.