]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - README.md
Merge pull request #9 from mtmail/yarn-start
[nominatim-ui.git] / README.md
index b83cc8f56ba7542fd1ee9da4c37eed1501d901fc..2acb5ba8d10cbfac38556e5bd52964722a538551 100644 (file)
--- a/README.md
+++ b/README.md
@@ -25,29 +25,10 @@ be if complexity grows.
 
 You can open the `dist` directory in your browser.
 
-You can start a simple webserver
+You can run `yarn start` to start a simple HTTP webserver and open
+[http://localhost:8000/]() in your browser.
 
-   * PHP
-
-   ```
-   php -S 0.0.0.0:8000 -t dist
-   ```
-
-   * Python 
-
-   ```
-   cd dist
-   python -m SimpleHTTPServer 8000
-   # python 3
-   python -m http.server 8000
-   ```
-
-   * NodeJS
-   
-   ```
-   # npm install -g light-server
-   light-server -s dist -p 8000
-   ```
+Or start another webserver ([Big list of http static server one-liners](https://gist.github.com/willurd/5720255)).
 
 
 ## Configuration
@@ -67,7 +48,7 @@ you want to doublecheck is the `Nominatim_API_Endpoint` URL.
 * After you change files in `src` directory
 
    ```
-   ./build.sh
+   yarn build
    ```
 
 ## License