From 8cb098cd2f404a1b3f2634a2c00e253a3c438d98 Mon Sep 17 00:00:00 2001 From: marc tobias Date: Sun, 19 Jan 2020 18:53:27 +0100 Subject: [PATCH] README: link to list of HTTP server one-liners instead of listing 3 --- README.md | 26 ++++---------------------- 1 file changed, 4 insertions(+), 22 deletions(-) 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 -- 2.39.5