A plugin to the fast Heroku CLI hk
for deploying via
the Heroku Slug API.
Based on Bo Jeane's hk-deploy and using Naaman's slug.
$ hk slug app.tar.gz
Deploying...
Done (v1)
Pre-compiled binaries are available here.
After unarchiving, stick the slug
binary in /usr/local/lib/hk/plugin
or your custom $HKPATH
.
Make sure you have Go (only 1.3 has been tested) installed.
$ go get github.com/tsloughter/hk-slug
$ cd $(go env GOPATH)/src/github.com/tsloughter/hk-slug
$ go build
$ mkdir -p /usr/local/lib/hk/plugin # or any custom $HKPATH
$ mv ./hk-slug /usr/local/lib/hk/plugin/slug
$ hk help slug
Usage: hk slug TARBALL
Deploy the specified directory to Heroku