db changed to postgresql

parent 7b7c95ba
...@@ -79,24 +79,24 @@ WSGI_APPLICATION = 'GeoInt_SIDT.wsgi.application' ...@@ -79,24 +79,24 @@ WSGI_APPLICATION = 'GeoInt_SIDT.wsgi.application'
# Database # Database
# https://docs.djangoproject.com/en/1.11/ref/settings/#databases # https://docs.djangoproject.com/en/1.11/ref/settings/#databases
# DATABASES = {
# 'default': {
# 'ENGINE': 'django.db.backends.postgresql_psycopg2',
# 'NAME': 'repsatdb',
# 'USER': 'root',
# 'PASSWORD': 'root',
# 'HOST': 'localhost',
# 'PORT': '',
# }
# }
DATABASES = { DATABASES = {
'default': { 'default': {
'ENGINE': 'django.db.backends.sqlite3', 'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), 'NAME': 'repsat',
'USER': 'repsat',
'PASSWORD': 'r3pS4t080pr0dct10n',
'HOST': '192.168.1.60',
'PORT': '5432',
} }
} }
# DATABASES = {
# 'default': {
# 'ENGINE': 'django.db.backends.sqlite3',
# 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
# }
# }
......
{ {
"PATHS": { "PATHS": {
"PATH_GEOSENTINEL": "/home/david/centroGEO/repsat/Geosentinel", "PATH_GEOSENTINEL": "/home/emmanuelhp/Documentos/GeoSentinel",
"PATH_NAS": "/home/david/NAS/", "PATH_NAS": "/home/emmanuelhp/NAS/",
"PATH_USERS" : "/home/david/NAS/repsat_test_dev/" "PATH_USERS" : "/home/emmanuelhp/NAS/repsat_test_dev/"
}, },
"API_SENTINEL": { "API_SENTINEL": {
"SENTINEL_USER" : "emmhp", "SENTINEL_USER" : "emmhp",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment