Permalink
Browse files

Starting the online viewer

  • Loading branch information...
alecperkins committed Oct 16, 2012
1 parent c9274f9 commit dee79cb8c6b90f709264541033185a98a2d51ec8
Showing with 24 additions and 0 deletions.
  1. +2 −0 .npmignore
  2. +8 −0 .slugignore
  3. +1 −0 Procfile
  4. +13 −0 viewer/app.coffee
View
@@ -0,0 +1,2 @@
viewer
node_modules
View
@@ -0,0 +1,8 @@
node_modules
src
bin
.npmignore
Cakefile
README.md
UNLICENSE
View
@@ -0,0 +1 @@
web: node_modules/coffee-script/bin/coffee viewer/app.coffee
View
@@ -0,0 +1,13 @@
express = require 'express'
app = express()
app.get '/', (request, response) ->
response.send('Hello World!')
port = process.env.PORT or 5000
app.listen port, ->
console.log("Listening on " + port)
# Extract rendering/serving portion to own module shared by viewer and cli

0 comments on commit dee79cb

Please sign in to comment.