diff --git a/OACPL/settings.base.py b/OACPL/settings.base.py index 9a36762..7a1a4be 100644 --- a/OACPL/settings.base.py +++ b/OACPL/settings.base.py @@ -13,7 +13,7 @@ https://docs.djangoproject.com/en/1.11/ref/settings/ import os # Build paths inside the project like this: os.path.join(BASE_DIR, ...) -BASE_URL = 'http://oacpl.zakscode.com' +BASE_URL = 'http://oacpl.org' BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) @@ -95,11 +95,12 @@ WSGI_APPLICATION = 'OACPL.wsgi.application' DATABASES = { 'default': { - 'ENGINE': 'django.db.backends.postgresql', - 'NAME': 'postgres', - 'USER': 'postgres', - 'HOST': 'db', - 'PORT': 5432, + 'ENGINE': 'django.db.backends.mysql', + 'NAME': 'oacpl', + 'USER': 'root', + 'PASSWORD': 'b5q?E8bhE7br*~)Y', + 'HOST': 'localhost', + 'PORT': 3306, } } diff --git a/requirements.txt b/requirements.txt index d1d4be8..cda0a69 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,5 +2,6 @@ bootstrap-admin==0.3.7.1 Django==1.11.5 django-forms-bootstrap==3.1.0 django-tinymce4-lite==1.7.0 +mysqlclient==1.3.12 Pillow==4.2.1 requests==2.11.1