Permalink
Browse files

Node engine version information. Deployment files.

  • Loading branch information...
1 parent dc1f063 commit c5662773919b302f9e0070a168f6faf633fd701f @espadrine espadrine committed Jan 3, 2014
Showing with 7 additions and 2 deletions.
  1. +2 −0 .buildpacks
  2. +2 −1 package.json
  3. +3 −1 server.js
View
@@ -0,0 +1,2 @@
+https://github.com/mojodna/heroku-buildpack-cairo.git
+https://github.com/heroku/heroku-buildpack-nodejs.git
View
@@ -14,5 +14,6 @@
"canvas": "~1.1.2",
"es6-promise": "~0.1.1",
"camp": "~13.11.9"
- }
+ },
+ "engines": { "node": "0.10.x" }
}
View
@@ -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

0 comments on commit c566277

Please sign in to comment.