]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - CONTRIBUTE.md
Merge pull request #54 from lonvia/split-search-page-II
[nominatim-ui.git] / CONTRIBUTE.md
index de818e86ad548e4e91d00e7ce7c1e643edba3311..11adf81c3f758f41aa061fc5c49c366153cb582b 100644 (file)
@@ -4,12 +4,9 @@
 
 The user interface used to be included in the geocoder. Thus the
 first version avoid being a redesign and still uses some of the
-same configuration values. For simplicity it's not a single
-page application (SPA) written in a framework though it could
-be in the future if complexity grows.
+same configuration values.
 
-Uses [jQuery](https://jquery.com/) for browser DOM interaction,
-[handlebar](http://handlebarsjs.com/) templates to build pages,
+Uses [svelte](https://svelte.dev/) framework,
 [leaflet](https://leafletjs.com/) for map interaction,
 [bootstrap](https://getbootstrap.com/) for layout styling.
 
@@ -25,20 +22,11 @@ Uses [jQuery](https://jquery.com/) for browser DOM interaction,
 * After you change files in `src` directory run
 
    ```
-   yarn build
+   yarn dev
    ```
+   which will start a webserver on port 5000 and auto-reloads
+   whenever you edit files.
 
-* Start a webserver on port 8000 to preview changes
-
-   ```
-   yarn start
-   ```
-
-* Run code style check
-
-   ```
-   yarn lint
-   ```
 
 ## Prepare a release
 
@@ -46,8 +34,10 @@ Uses [jQuery](https://jquery.com/) for browser DOM interaction,
 
 2. Update `CHANGES.md` file
 
-3. Commit your changes: `git add... `, `git commit ...`, `git push ...` etc
+3. Run `yarn build` to make sure the `dist/build/` files don't contain lifereload.js
+
+4. Commit your changes: `git add... `, `git commit ...`, `git push ...` etc
 
-4. Tag release: `git tag THE_VERSION_NUMBER`, `git push --tags`
+5. Tag release: `git tag THE_VERSION_NUMBER`, `git push --tags`
 
-5. Upload release
\ No newline at end of file
+6. Upload release
\ No newline at end of file