diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..62ae87f --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: gunicorn learning_log.wsgi --log-file - \ No newline at end of file diff --git a/db.sqlite3 b/db.sqlite3 new file mode 100644 index 0000000..13d6464 Binary files /dev/null and b/db.sqlite3 differ diff --git a/learning_log/wsgi.py b/learning_log/wsgi.py new file mode 100644 index 0000000..23e8972 --- /dev/null +++ b/learning_log/wsgi.py @@ -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() diff --git a/manage.py b/manage.py new file mode 100644 index 0000000..2e8ed64 --- /dev/null +++ b/manage.py @@ -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() diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..98678d2 --- /dev/null +++ b/requirements.txt @@ -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 diff --git a/runtime.txt b/runtime.txt new file mode 100644 index 0000000..724c203 --- /dev/null +++ b/runtime.txt @@ -0,0 +1 @@ +python-3.8.2