Created
August 19, 2021 22:50
-
-
Save whittlem/f5bd7411db381f229e4fb4425deca503 to your computer and use it in GitHub Desktop.
python-flask-wsgi.py
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 sys | |
import site | |
import logging | |
logging.basicConfig(stream=sys.stderr) | |
site.addsitedir('/var/www/html/lib/python3.6/site-packages') | |
site.addsitedir('/var/www/html/lib64/python3.6/site-packages') | |
sys.path.insert(0,"/var/www/html/") | |
from app import app as application |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment