Add files via upload

This commit is contained in:
Leon Xu
2020-05-11 14:23:43 -07:00
committed by GitHub
parent 50740ac018
commit 33af7ee075
6 changed files with 51 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
web: gunicorn learning_log.wsgi --log-file -
BIN
View File
Binary file not shown.
+16
View File
@@ -0,0 +1,16 @@
"""
WSGI config for learning_log project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'learning_log.settings')
application = get_wsgi_application()
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys
def main():
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'learning_log.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
raise ImportError(
"Couldn't import Django. Are you sure it's installed and "
"available on your PYTHONPATH environment variable? Did you "
"forget to activate a virtual environment?"
) from exc
execute_from_command_line(sys.argv)
if __name__ == '__main__':
main()
+12
View File
@@ -0,0 +1,12 @@
asgiref==3.2.7
beautifulsoup4==4.9.0
dj-database-url==0.5.0
Django==3.0.6
django-bootstrap4==1.1.1
django-heroku==0.3.1
gunicorn==20.0.4
psycopg2==2.8.5
pytz==2020.1
soupsieve==2.0
sqlparse==0.3.1
whitenoise==5.0.1
+1
View File
@@ -0,0 +1 @@
python-3.8.2