Skip to content

Commit

Permalink
simplify settings and url
Browse files Browse the repository at this point in the history
  • Loading branch information
simod committed Oct 17, 2013
1 parent 239db81 commit aaa93ba
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 625 deletions.
27 changes: 15 additions & 12 deletions project_name/local_settings.py.sample
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ DATABASES = {
'datastore' : {
'ENGINE': 'django.contrib.gis.db.backends.postgis',
#'ENGINE': '', # Empty ENGINE name disables
'NAME': 'geonode-imports',
'NAME': 'geonode',
'USER' : 'geonode',
'PASSWORD' : 'geonode',
'HOST' : 'localhost',
Expand All @@ -22,17 +22,20 @@ OGC_SERVER = {
'default' : {
'BACKEND' : 'geonode.geoserver',
'LOCATION' : 'http://localhost:8080/geoserver/',
# PUBLIC_LOCATION needs to be kept like this because in dev mode
# the proxy won't work and the integration tests will fail
# the entire block has to be overridden in the local_settings
'PUBLIC_LOCATION' : 'http://localhost:8080/geoserver/',
'USER' : 'admin',
'PASSWORD' : 'geoserver',
'OPTIONS' : {
'MAPFISH_PRINT_ENABLED' : True,
'PRINTNG_ENABLED' : True,
'GEONODE_SECURITY_ENABLED' : True,
'GEOGIT_ENABLED' : False,
'WMST_ENABLED' : False,
# Set to name of database in DATABASES dictionary to enable
'DATASTORE': 'geonode-imports', #'datastore',
}
'MAPFISH_PRINT_ENABLED' : True,
'PRINTNG_ENABLED' : True,
'GEONODE_SECURITY_ENABLED' : True,
'GEOGIT_ENABLED' : False,
'WMST_ENABLED' : False,
'BACKEND_WRITE_ENABLED': True,
'WPS_ENABLED' : True,
# Set to name of database in DATABASES dictionary to enable
'DATASTORE': 'datastore',
}
}

}
Loading

0 comments on commit aaa93ba

Please sign in to comment.