This commit is contained in:
Kenneth Reitz
2012-07-09 01:51:13 -04:00
parent 00a9657cf4
commit bbcb7099ac
3 changed files with 11 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
web: gunicorn rush:app -b 0.0.0.0:$PORT -w 16 -k gevent -t 3
+2 -1
View File
@@ -1,16 +1,17 @@
# -*- coding: utf-8 -*-
from flask import Flask
from flask_heroku import Heroku
from flask_sslify import SSLify
from raven.contrib.flask import Sentry
from flask.ext.celery import Celery
app = Flask(__name__)
heroku = Heroku(app)
sentry = Sentry(app)
sslify = SSLify(app)
celery = Celery(app)
app.debug = True
+8
View File
@@ -0,0 +1,8 @@
# -*- coding: utf-8 -*-
import env
import dynamo
d = env.prefix('dynamo_')
table = dynamo.table(d['table'], (d['access_key'], d['secret_access_key']))