Node engine version information. Deployment files.

This commit is contained in:
Thaddee Tyl 2014-01-03 18:08:38 +01:00
parent dc1f063cf0
commit c566277391
3 changed files with 7 additions and 2 deletions

2
.buildpacks Normal file
View File

@ -0,0 +1,2 @@
https://github.com/mojodna/heroku-buildpack-cairo.git
https://github.com/heroku/heroku-buildpack-nodejs.git

View File

@ -14,5 +14,6 @@
"canvas": "~1.1.2",
"es6-promise": "~0.1.1",
"camp": "~13.11.9"
}
},
"engines": { "node": "0.10.x" }
}

View File

@ -1,4 +1,6 @@
var camp = require('camp').start({ port: +process.argv[2]||80 });
var camp = require('camp').start({
port: process.env.PORT||+process.argv[2]||80
});
var badge = require('./badge.js');
// Escapes `t` using the format specified in