Logo Lanfrica

akvo/eswatini-droughtmap-hub

Domain:

geospatialclimate

Record type:

software
Creator:
akvo
Host:
Eswatini Droughtmap Hub # eswatini-droughtmap-hub Eswatini Droughtmap Hub # **Setup GeoNode Locally** 1. **Clone and Install GeoNode** You can either clone this default repository or use the GeoNode Project repository to generate a customized GeoNode. ```bash git clone github.com cd geonode ``` 2. **Set Up Local Environment** Install the necessary dependencies (Docker is the recommended approach for ease of setup): ```bash docker-compose up -d ``` 3. **Set Environment Variables** Update your `.env` file or export the following environment variables: ```bash export GEONODE_BASE_URL="http:// " export GEONODE_ADMIN_USERNAME=" " export GEONODE_ADMIN_PASSWORD=" " ``` Replace ` `, ` `, and ` ` with your desired values. 4. **Access GeoNode** Open GeoNode in your browser at `http:// ` and log in using the admin credentials. 5. **Add a New Dataset Category** - Navigate to **Admin Panel** → **Base** → **Metadata Topic Categories** → **Add topic category**. > PATH URL: [/[locale]/admin/base/topiccategory/add/](/admin/base/topiccategory/add/) - Fill in the details as follows: - **Identifier**: `cdi-raster-map` - **Description [en]**: `CDI Raster Map` - Save the category. --- ## **Configure Eswatini Droughtmap Hub** 1. **Set Environment Variables** In the Eswatini Droughtmap Hub project, update your environment variables file to include: ```bash GEONODE_BASE_URL="http:// " GEONODE_ADMIN_USERNAME=" " GEONODE_ADMIN_PASSWORD=" " ``` 2. **Restart the Droughtmap Hub** Restart the application to apply the updated environment variables. --- ## **Test the Setup** 1. **Upload a Dataset to GeoNode** - Log in to GeoNode as an admin. - Upload a raster (*.tif, *.tiff) dataset. - Set its category to `cdi-raster-map`. 2. **Verify in Eswatini Droughtmap Hub** - Log in to the Droughtmap Hub as an admin. - Navigate to `/publications`. - If configured correctly, the list of datasets from GeoNode should appear, allowing you to start a new publication. 3. **Troubles …

Licenses