Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Adding files for the webpage

  • Loading branch information...
commit 849882f91daeae3e65f1250a885fb9c9fa907b40 1 parent 261630f
Juan Basso authored

Showing 4 changed files with 24 additions and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  .gitignore
  2. +1 0  Procfile
  3. +10 0 package.json
  4. +12 0 web/gistit.js
1  .gitignore
... ... @@ -1,2 +1,3 @@
1 1 *.o
2 2 gistit
  3 +node_modules
1  Procfile
... ... @@ -0,0 +1 @@
  1 +web: node web/gistit.js
10 package.json
... ... @@ -0,0 +1,10 @@
  1 +{
  2 + "name": "gistit",
  3 + "version": "0.1.0",
  4 + "dependencies": {
  5 + "express": "3.0.x"
  6 + },
  7 + "engines": {
  8 + "node": "0.6.x"
  9 + }
  10 +}
12 web/gistit.js
... ... @@ -0,0 +1,12 @@
  1 +var express = require('express');
  2 +
  3 +var app = express.createServer(express.logger());
  4 +
  5 +app.get('/', function(request, response) {
  6 + response.send('Hello World!');
  7 +});
  8 +
  9 +var port = process.env.PORT || 80;
  10 +app.listen(port, function() {
  11 + console.log("Listening on " + port);
  12 +});

0 comments on commit 849882f

Please sign in to comment.
Something went wrong with that request. Please try again.