Land Use Planning for Land Degradation Neutrality
Winner · GEO-LDN International Technology Innovation Competition (2021)
This repository contains the frontend dashboard of LUP4LDN — the web interface through which stakeholders run a participatory land use planning process for Land Degradation Neutrality (LDN), evaluate land use and land management transition scenarios, and read the results against SDG indicator 15.3.1.
The dashboard is built with the Diamond-React application framework and talks to the LUP4LDN backend API.
Looking for the user-facing guide? End users should start with the LUP4LDN User Guide rather than this repository, which is aimed at developers.
- React (Diamond-React application framework)
- Node.js 14.17.0 LTS / npm 7.13.0 LTS
- Docker for containerised builds
Using nodeenv, create an isolated environment with the required Node version:
nodeenv --prebuilt -n 14.17.0 envActivate it:
. env/bin/activateAnd install the matching npm version:
npm i -g npm@7.13.0npm installNote — Font Awesome icons. To use Fortawesome icons, create an
.npmrcfile and add your token. See the Font Awesome setup instructions.
Copy the example environment file:
cp .env.example .envThen fill in the values. The most important one is REACT_APP_API_BASE_URL,
which points the dashboard at the LUP4LDN backend API.
npm startOpen localhost:3000 in your browser (it should open
automatically).
Run the test suite locally:
npm run testBuild a Docker image for the project:
docker build . -t scio-lup4ldn-frontendRun the container:
docker run -d -p 3000:3000 scio-lup4ldn-frontendGenerate the production-ready app:
npm run buildThe build folder will contain all the files needed for deployment.
Contributions are welcome. Please read CONTRIBUTING.md
before opening an issue or a pull request.
To report a vulnerability, please follow the process in
SECURITY.md rather than opening a public issue.
For help using the tool, contact SCiO at lup4ldn@scio.systems.
The source code in this repository is licensed under the GNU General Public
License v3.0 (GPL-3.0) — see LICENSE for the full text.
This licence covers the software code only.
"LUP4LDN"™ and the LUP4LDN logo are trademarks of SCiO P.C. and are not licensed under the GPL. If you fork or redistribute a modified version, you must give it a different name and must not use the LUP4LDN name or logo, so that users can always tell the original, SCiO-maintained LUP4LDN apart from independent derivatives.
See TRADEMARK.md for the full name and logo policy.
Developed and maintained by SCiO P.C., Athens, Greece