From a2d65b0aae971fa9f52d810842d3855fa248d569 Mon Sep 17 00:00:00 2001 From: Yusuf Raji Date: Tue, 17 May 2022 18:03:35 +0800 Subject: [PATCH] Update README.md The SimpleHTTPServer module has been merged into http.server in Python 3. "python: command not found" error is thrown after running "python -m SimpleHTTPServer" on python3. --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 92b6bdc..cd66276 100644 --- a/README.md +++ b/README.md @@ -28,8 +28,15 @@ To build: ``` $ cd public + ``` + For *python2*, run: + ``` $ python -m SimpleHTTPServer ``` + For *python3*, run: + ``` + $ python -m http.server + ``` 1. You'll need to be connected over HTTPS to access sensors (at least on iPhone), use ngrok to open up your web browser to the world via: