Skip to content

Commit

Permalink
Add WSGI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Osvaldo Matos-Junior committed May 25, 2014
1 parent 7d4cd72 commit 072962c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions wsgi.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# -*- coding: utf-8 -*-

import os
config = os.environ.get('APP_CONFIG', 'Dev')

from bolao.main import app_factory
application = app_factory(config)

if __name__ == "__main__":
application.run()

0 comments on commit 072962c

Please sign in to comment.