Browse files

Add application base files

  • Loading branch information...
1 parent a3f7d2d commit aaa59b097eed668da3537f9e5d6841280a1e2d4d @christoffer committed Apr 19, 2012
Showing with 23 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +1 −0 Procfile
  3. +14 −0 app.js
  4. +7 −0 package.json
View
1 .gitignore
@@ -0,0 +1 @@
+node_modules
View
1 Procfile
@@ -0,0 +1 @@
+web: node app.js
View
14 app.js
@@ -0,0 +1,14 @@
+var express = require('express');
+
+var app = express.createServer(express.logger());
+
+app.get('/', function(request, response) {
+ response.send('Crawler');
+});
+
+var port = process.env.PORT || 3000;
+
+app.listen(port, function() {
+ console.log("Listening on " + port);
+});
+
View
7 package.json
@@ -0,0 +1,7 @@
+{
+ "name": "readmill-crawler",
+ "version": "0.0.1",
+ "dependencies": {
+ "express": "2.2.0"
+ }
+}

0 comments on commit aaa59b0

Please sign in to comment.