Permalink
Browse files

turning this into a webapp

  • Loading branch information...
1 parent c41b356 commit a5611f9c6d80abf663b5231176e4815339a470eb @ranman committed Apr 9, 2013
Showing with 8 additions and 3 deletions.
  1. +5 −0 gitstreamer.py
  2. +3 −3 post-commit.py
View
5 gitstreamer.py
@@ -0,0 +1,5 @@
+from flask import Flask
+from flask.ext.pymongo import PyMongo
+
+app = Flask(__name__)
+mongo = PyMongo(app)
View
6 post-commit.py
@@ -7,10 +7,10 @@
from datetime import datetime
from pymongo import MongoClient
from bson import binary
-host = 'localhost'
+host = 'mercury.ranman.org'
port = 27017
-database = 'gitscraper'
-auth = ('gitscraper', 'gitscraper')
+database = 'gitstreamer'
+auth = ('gitstreamer', 'gitstreamer')
gitshots_path = '~/.gitshots/'
# must have space at end
img_command = 'imagesnap -q '

0 comments on commit a5611f9

Please sign in to comment.