pyscript / docs

The source code for the official documentation of PyScript.
https://docs.pyscript.net
8 stars 10 forks source link

beginning-pyscript/#from-a-web-server needs python3 -m http.server #108

Open CarlFK opened 4 months ago

CarlFK commented 4 months ago

https://docs.pyscript.net/2024.5.2/beginning-pyscript/#from-a-web-server

, but any static web host will do (for example github...

It doesn't include python3 -m http.server which was mentioned at the top of the page:

https://docs.pyscript.net/2024.5.2/beginning-pyscript/#an-application

If you're using your local file system
... 
python3 -m http.server

Which A) works fine and B) is my preference.

Technically the docs say ~run it and refresh later~ but for a ~Getting Started follow these easy steps~ I was expecting to be told when to run the server and browse the URL.

Explicit is better than implicit.