Skip to content

Instantly share code, notes, and snippets.

@ademola25
Created August 17, 2018 08:09
Show Gist options
  • Save ademola25/5a4af18d3515f250190df8311ce68d50 to your computer and use it in GitHub Desktop.
Save ademola25/5a4af18d3515f250190df8311ce68d50 to your computer and use it in GitHub Desktop.
wsgi file
grader@ip-172-26-8-30:/var/www/catalog$ sudo cat catalog.wsgi
#!/usr/bin/python
import sys
import logging
logging.basicConfig(stream=sys.stderr)
sys.path.insert(0,"/var/www/catalog/")
from catalog import app as application
application.secret_key = 'Add your secret key'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment