Skip to content

Commit

Permalink
By default USE_WORLDMAP is False
Browse files Browse the repository at this point in the history
  • Loading branch information
capooti committed May 29, 2018
1 parent afd04ed commit 8a6ba6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/reference/worldmap.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Now install GeoNode from source code::

Set the following environment variables as needed (change SITE_NAME and SERVER_IP s needed. Also HYPERMAP_REGISTRY_URL and SOLR_URL may be different). Even better, create a file and source it::

export USE_WORLDMAP=True
export SITE_NAME=worldmap
export SERVER_IP=128.31.22.73
export PG_USERNAME=worldmap
Expand Down
2 changes: 1 addition & 1 deletion geonode/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -1561,7 +1561,7 @@
)

# WorldMap settings
USE_WORLDMAP = True
USE_WORLDMAP = strtobool(os.getenv('USE_WORLDMAP', 'False'))

if USE_WORLDMAP:
GEONODE_CLIENT_LOCATION = '/static/worldmap_client/'
Expand Down

0 comments on commit 8a6ba6a

Please sign in to comment.