Added required postgres database configuration
This commit is contained in:
@@ -129,10 +129,12 @@ WSGI_APPLICATION = 'mayan.wsgi.application'
|
||||
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
|
||||
}
|
||||
}
|
||||
'ENGINE': 'django.db.backends.postgresql_psycopg2',
|
||||
'NAME': 'mayan',
|
||||
'USER': 'mayan',
|
||||
'PASSWORD': DBPASSWORD,
|
||||
'HOST': '',
|
||||
'PORT': ''}}
|
||||
|
||||
# Internationalization
|
||||
# https://docs.djangoproject.com/en/1.6/topics/i18n/
|
||||
|
||||
@@ -1,2 +1,5 @@
|
||||
# Keep this restricted to just the stuff you really need to keep secret so that it does not need to change or
|
||||
# be modified often.
|
||||
# SECURITY WARNING: keep the secret key used in production secret!
|
||||
SECRET_KEY = 'Ei5lo4oh zooW4xaj ic6Uehaa Vahy2zae seej1OhK iwoh3ziX gai3Ohng Igh3phae'
|
||||
DBPASSWORD = '<change me to the db user password>'
|
||||
|
||||
Reference in New Issue
Block a user