""" Grass Server. This server follows requirements set for amazon preconfigured docker. You can learn more here: http://amzn.to/1CJ6tDs. Caution: this server is for live, if you use it in your dev environment, it may not work as intended. """ from raven.contrib import flask from analytics import api from analytics import config from analytics import handlers # noqa from analytics.connectors import sentry if config.SENTRY: api.app.config['SENTRY_DSN'] = config.SENTRY flask.Sentry(api.app, client=sentry.sentry_client) app = api.app if __name__ == '__main__': app.run()