1.0.4 • Published 8 years ago
heroku-tarball-deploy v1.0.4
Heroku Tarball Deploy

A library and CLI script for automating a deployment of a tarball (tgz or tar file) to Heroku.
CLI tool
Instalation:
npm install heroku-tarball-deploy --globalHow to use
Usage:
htd --app APP [--file FILE] [--username USERNAME] [--password PASSWORD]Required arguments:
-a APP,--app APP- Heroku application name.
Optional arguments:
-a APP,--app APP- Heroku application name.-f FILE,--file FILE- Path to tarball file-u USERNAME,--username USERNAME- Heroku username, default:git-p PASSWORD,-k PASSWORD,--password PASSWORD- Heroku user spassword or API key
Library
Instalation:
npm install heroku-tarball-deploy --saveUsage
Example usage:
const htd = require('heroku-tarball-deploy');
htd(opts)
.then(() => console.log('Done'));Available options:
app- required, Heroku application namefile- path to file (tgz or tar), default:build.tgzcredentials- Heroku credentialsusername- user name, usegitif you pass Heroku API key as password, default:gitpassword- required, user password or Heroku API Key
logger- logger object (compatible withConsole- required methods:errorandinfo)
Authors
This tool based on a project Rounded/heroku-deploy-tarball developed by John Shanley.