Created
September 15, 2016 21:25
-
-
Save brianz/f74825460c85c5b5f59255d644a2576a to your computer and use it in GitHub Desktop.
wsgi setup for calculator_service demo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[uwsgi] | |
http=0.0.0.0:8888 | |
wsgi-file=wsgi_handler.py | |
processes=1 | |
threads=1 | |
py-auto-reload=3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from calculator_service.service import CalculatorService | |
service = CalculatorService() | |
application = service.get_wsgi_application |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment