Skip to content

Commit 7f9dea1

Browse files
author
afabiani
committed
[Ref GeoNode#4311] GNIP: Contrib apps cleanup on GeoNode / database_shards,worldmap,geotiffio,geosites extracted
1 parent 95d3981 commit 7f9dea1

File tree

149 files changed

+19
-9623
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

149 files changed

+19
-9623
lines changed

Makefile

-31
Original file line numberDiff line numberDiff line change
@@ -58,34 +58,3 @@ reset: down up wait sync
5858
hardreset: pull build reset
5959

6060
develop: pull build up sync
61-
62-
setup_worldmap:
63-
# setup databases for using the worldmap application
64-
export PG_ADMIN_USER=$(PG_ADMIN_USER);
65-
export PG_USERNAME=$(PG_USERNAME);
66-
export PG_PASSWORD=$(PG_PASSWORD);
67-
export PG_WORLDMAP_DJANGO_DB=$(PG_WORLDMAP_DJANGO_DB);
68-
export PG_WORLDMAP_UPLOADS_DB=$(PG_WORLDMAP_UPLOADS_DB);
69-
export OWNER=$(OWNER);
70-
psql -h $(PG_HOST) -U $(PG_ADMIN_USER) -c "CREATE USER $(PG_USERNAME) WITH SUPERUSER PASSWORD '$(PG_PASSWORD)';" ;
71-
psql -h $(PG_HOST) -U $(PG_ADMIN_USER) -c "CREATE DATABASE $(PG_WORLDMAP_DJANGO_DB) WITH OWNER $(OWNER);"
72-
psql -h $(PG_HOST) -U $(PG_ADMIN_USER) -d $(PG_WORLDMAP_DJANGO_DB) -c "CREATE EXTENSION postgis;"
73-
psql -h $(PG_HOST) -U $(PG_ADMIN_USER) -d $(PG_WORLDMAP_DJANGO_DB) -c "CREATE EXTENSION dblink;"
74-
psql -h $(PG_HOST) -U $(PG_ADMIN_USER) -c "CREATE DATABASE $(PG_WORLDMAP_UPLOADS_DB) WITH OWNER $(OWNER);"
75-
psql -h $(PG_HOST) -U $(PG_ADMIN_USER) -d $(PG_WORLDMAP_UPLOADS_DB) -c "CREATE EXTENSION postgis;"
76-
python manage.py migrate --noinput
77-
python manage.py loaddata sample_admin
78-
python manage.py loaddata geonode/base/fixtures/default_oauth_apps_docker.json
79-
python manage.py loaddata geonode/base/fixtures/initial_data.json
80-
81-
remove_worldmap:
82-
# remove databases for using the worldmap application
83-
export PG_ADMIN_USER=$(PG_ADMIN_USER);
84-
export PG_USERNAME=$(PG_USERNAME);
85-
export PG_PASSWORD=$(PG_PASSWORD);
86-
export PG_WORLDMAP_DJANGO_DB=$(PG_WORLDMAP_DJANGO_DB);
87-
export PG_WORLDMAP_UPLOADS_DB=$(PG_WORLDMAP_UPLOADS_DB);
88-
export OWNER=$(OWNER);
89-
psql -h $(PG_HOST) -U $(PG_ADMIN_USER) -c "DROP DATABASE $(PG_WORLDMAP_DJANGO_DB);"
90-
psql -h $(PG_HOST) -U $(PG_ADMIN_USER) -c "DROP DATABASE $(PG_WORLDMAP_UPLOADS_DB);"
91-
psql -h $(PG_HOST) -U $(PG_ADMIN_USER) -c "DROP ROLE $(PG_USERNAME);"

docs/reference/developers/geosites.txt

-89
This file was deleted.

docs/reference/developers/settings.txt

-12
Original file line numberDiff line numberDiff line change
@@ -659,18 +659,6 @@ Default: ``False``
659659

660660
A boolean that specifies ...TODO...
661661

662-
GEOTIFF_IO_ENABLED
663-
------------
664-
Default: ``False``
665-
666-
A boolean that specifies whether the GeoTIFF.io contrib feature is enabled. If enabled, an 'Analyze with GeoTIFF.io' button is added to the layer_detail page.
667-
668-
GEOTIFF_IO_BASE_URL
669-
------------
670-
Default: `https://app.geotiff.io`
671-
672-
A string that specifies what instance of GeoTIFF.io should be opened when the 'Analyze with GeoTIFF.io' button is clicked.
673-
674662
Amazon Web Services Settings
675663
============================
676664

docs/reference/index.txt

-4
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ In this section, you will find information about every component of GeoNode, suc
1818

1919
:ref:`browsers`
2020

21-
:ref:`geosites`
22-
2321
.. toctree::
2422
:hidden:
2523
:maxdepth: 3
@@ -32,5 +30,3 @@ In this section, you will find information about every component of GeoNode, suc
3230
developers/javascript
3331
developers/settings
3432
browsers
35-
developers/geosites
36-
worldmap

docs/reference/worldmap.txt

-205
This file was deleted.
Binary file not shown.

0 commit comments

Comments
 (0)