From a0f0f8ca176f3abf179c67f7d33eeab454d6f5bc Mon Sep 17 00:00:00 2001 From: Yannick <20306025+yandeu@users.noreply.github.com> Date: Tue, 20 Apr 2021 08:38:05 +0200 Subject: [PATCH] Added five-server to the docs (#21550) --- .../How-to-run-things-locally.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/manual/en/introduction/How-to-run-things-locally.html b/docs/manual/en/introduction/How-to-run-things-locally.html index c31731a449..38b16eaab7 100644 --- a/docs/manual/en/introduction/How-to-run-things-locally.html +++ b/docs/manual/en/introduction/How-to-run-things-locally.html @@ -52,6 +52,7 @@
Some code editors have plugins which will spawn a simple server on demand.
Development server with live reload capability. To install:
+
+# Remove live-server (if you have it)
+npm -g rm live-server
+
+# Install five-server
+npm -g i five-server
+
+# Update five-server (from time to time)
+npm -g i five-server@latest
+
+
+ To run (from your local directory):
+five-server . -p 8000
+ Node.js has a simple HTTP server package. To install:
-- GitLab