3 Debugging user interface for [Nominatim](https://nominatim.org/)
4 ([source](https://github.com/osm-search/Nominatim/)) geocoder.
5 The frontend runs standalone as website and will requests data
6 from a separate Nominatim API (either on the same server or
9 For technical details see [CONTRIBUTING.md]() file.
11 ![Screenshot](screenshot.png)
13 ## Starting the frontend
15 * You can open the `dist` directory in your browser.
17 * If you have python installed (part of the Nominatim server installation):
20 2. start webserver `python3 -m http.server 8765`
21 3. open [http://localhost:8765/]() in your browser
23 * Start a webserver using ([Big list of http static server one-liners](https://gist.github.com/willurd/5720255)) or configure Apache, nginx or other webservers to serve the `dist` directory.
28 Create a `dist/config.js` file, you can use `dist/config.example.js` as basis (just copy it). All settings are optional. Usually you want to set the `Nominatim_API_Endpoint` value at least.
34 | `Nominatim_API_Endpoint` | http://localhost/nominatim/ (port 80) |
35 | `Images_Base_Url` | images in [mapicons]() |
36 | `Search_AreaPolygons` | yes, print boundaries of search results on map |
37 | `Reverse_Default_Search_Zoom` | 18 (house-number level) |
38 | `Map_Default_Lat`, `Map_Default_Lon`, `Map_Default_Zoom` | display whole world |
39 | `Map_Tile_URL` | load from openstreetmap.org |
40 | `Map_Tile_Attribution` | [OpenStreetMap](https://openstreetmap.org/copyright) obviously |
45 The source code is available under a [GPLv2 license](LICENSE).