From: marc tobias Date: Sun, 19 Jan 2020 17:53:27 +0000 (+0100) Subject: README: link to list of HTTP server one-liners instead of listing 3 X-Git-Url: https://git.openstreetmap.org/nominatim-ui.git/commitdiff_plain/8cb098cd2f404a1b3f2634a2c00e253a3c438d98?ds=sidebyside README: link to list of HTTP server one-liners instead of listing 3 --- diff --git a/README.md b/README.md index b83cc8f..1cfa5e7 100644 --- a/README.md +++ b/README.md @@ -25,29 +25,11 @@ be if complexity grows. You can open the `dist` directory in your browser. -You can start a simple webserver +You can start a simple HTTP webserver ([Big list of http static server one-liners](https://gist.github.com/willurd/5720255)). - * 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 - ``` +``` +php -S 0.0.0.0:8000 -t dist +``` ## Configuration