1 # Developing Nominatim-UI
3 [![Continuous Integration](https://github.com/osm-search/nominatim-ui/actions/workflows/ci.yml/badge.svg)](https://github.com/osm-search/nominatim-ui/actions/workflows/ci.yml)
7 Uses [Svelte](https://svelte.dev/) framework,
8 [Leaflet](https://leafletjs.com/) for map interaction,
9 [Bootstrap](https://getbootstrap.com/) for layout styling.
11 The user interface used to be included in the geocoder. Thus the
12 first version avoided being a redesign and still uses some of the
13 same configuration values. Version 2 was a full refactor using
14 Svelte. Version 3 added theme and easier configuration.
18 ## Building the frontend
20 * Install dependencies
26 * After you change files in `src` directory run
31 which will start a webserver on port 9880 and auto-reloads
32 whenever you edit files. Configuration in `rollup.config.js`.
36 The `test/` setup uses [Mocha](https://mochajs.org/) to run tests. Tests use [Puppeteer](https://pptr.dev/) to control a Google Chrome headless browser and evaluate with [Assert](https://nodejs.org/api/assert.html).
39 * Run integration test suite (configuration in `.mocharc.js`)
45 * Run syntax linter (configuration in `.eslint.js`)
54 1. Update version number in `package.json` file
56 2. Update `CHANGES.md` file
58 3. Commit your changes: `git add... `, `git commit ...`, `git push ...` etc
60 4. Tag release: `git tag THE_VERSION_NUMBER`, `git push --tags`
62 5. Create release on https://github.com/osm-search/nominatim-ui/releases
63 This (a triggered Github Action) will run `yarn build` and add the `dist/build/bundle.*` files.