Last active
April 29, 2019 19:09
-
-
Save selynna/7000aaad7311083a72d36d7031465c52 to your computer and use it in GitHub Desktop.
This file contains 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
import os | |
from waitress import serve | |
from django.core.wsgi import get_wsgi_application | |
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django_azure_demo.settings") | |
application = get_wsgi_application() | |
serve(application,host="0.0.0.0",port=os.environ["PORT"]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment