A node module for deploying app.json apps to Heroku. Designed to work on the server, the browser, and the command line.
Download node at nodejs.org and install it, if you haven't already.
npm install app-cloner-heroku --save
var cloner = require("app-cloner-heroku").new({
repo: "zeke/slideshow#master",
token: process.env.HEROKU_OAUTH_SECRET,
app: "my-new-slideshow"
})
cloner.on("create", function(build){
console.log(build)
})
cloner.on("pending", function(){
console.log(".")
})
cloner.on("succeeded", function(build){
console.log(build)
})
cloner.on("error", function(error){
console.error(error)
})
cloner.start()
npm install
npm test
MIT