Feedback interface for Nominatim-UI.
The frontend runs standalone as website and will request data from a separate Nominatim API running on http://localhost:80/nominatim/ and Nominatim-feedback-reporter API running on http://localhost:8000/api/ and overpass-API running on https://overpass-api.de/api/ (configurable, see below).
For technical background, how to develop and create a release see CONTRIBUTE.md file at https://github.com/darkshredder/nominatim-feedback-reporter/.
You can either
-
open the
frontend/dist
directory in your browser. -
if you have Python installed (part of the Nominatim API server installation):
cd frontend/dist
- start webserver
python3 -m http.server 8765
- open http://localhost:8765/ in your browser
-
start a webserver using (Big list of http static server one-liners) or configure Apache, nginx or other webservers to serve the
dist
directory.
cd backend/
pip install -r requirements.txt
gunicorn run --reload
The server will be up and running on http://localhost:8000/.
You can customize your installation by creating and editing frontend/dist/theme/config.theme.js
which allows you to override the default values provided by frontend/dist/config.default.js
.
The following config.theme.js
example file changes the location of the API endpoint:
Nominatim_Config.Nominatim_API_Endpoint = 'http://my-server:1234/';
Overpass_API_Endpoint = 'https://overpass-api.de/api/';
Nominatim_Feedback_Reporter_API_Endpoint = 'http://localhost:8000/api/';
To view the Feedback report generated by backend see FEEDBACK_OUPUT_SPEC.md.