Updated server config to use mysql
This commit is contained in:
parent
912a5dcb25
commit
53f5fdced8
@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user