Merge pull request #38 from dimasciput/fix_upload

Fix upload shapefile layers to postgis
This commit is contained in:
Dimas Ciputra authored and GitHub committed 2017-09-19 10:51:06 +07:00
commit 0067a4b712
2 files changed
+12 -3

No files matched your search

@@ -20,6 +20,15 @@ DATABASES = {
'HOST': 'db',
'PORT': 5432,
'TEST_NAME': 'unittests',
},
# vector datastore for uploads
'datastore': {
'ENGINE': 'django.contrib.gis.db.backends.postgis',
'NAME': 'geonode_data',
'USER': 'docker',
'PASSWORD': 'docker',
'HOST': 'db',
'PORT': 5432,
}
}
+3 -3
View File
@@ -26,9 +26,9 @@ DATABASES = {
'datastore': {
'ENGINE': 'django.contrib.gis.db.backends.postgis',
'NAME': 'geonode_data',
'USER': 'geonode',
'PASSWORD': 'geonode',
'HOST': 'localhost',
'USER': os.environ['DATABASE_USERNAME'],
'PASSWORD': os.environ['DATABASE_PASSWORD'],
'HOST': os.environ['DATABASE_HOST'],
'PORT': 5432,
}
}