Skip to content

Commit 7f2ccac

Browse files
committed
Merge pull request hojberg#5 from hojberg/nodejsify
simple nodejs
2 parents 00abcca + ae067f5 commit 7f2ccac

File tree

6 files changed

+19
-13
lines changed

6 files changed

+19
-13
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

Gemfile

Lines changed: 0 additions & 3 deletions
This file was deleted.

Gemfile.lock

Lines changed: 0 additions & 10 deletions
This file was deleted.

Procfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
web: node server.js

package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "cssarrowplease",
3+
"domains": "cssarrowplease.com",
4+
"description": "Generate the CSS for a tooltip arrow",
5+
"repository": "git://github.com/hojberg/cssarrowplease.git",
6+
"author": "Simon Højberg <r.hackr@gmail.com> (http://icreateui.com)",
7+
"version": "0.0.1",
8+
"dependencies": {
9+
"connect": "~2.0.3"
10+
}
11+
}

server.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
var connect = require('connect'),
2+
http = require('http');
3+
4+
var app = connect().use(connect.static('public'));
5+
6+
http.createServer(app).listen(process.env.PORT || 3000);

0 commit comments

Comments
 (0)