Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.25 KB

README.md

File metadata and controls

35 lines (23 loc) · 1.25 KB

The PyDevices portal's front page: a headline, four buttons and a live analog clock drawn by MicroPython in the browser

PyDevices.github.io

The source of the PyDevices website at https://pydevices.github.io/: the front page, a landing page for each project, the firmware installer, and the WebAssembly MicroPython that runs the live demos. It is plain HTML, CSS and JavaScript with nothing to build.

Install

There is nothing to install to read the site. To work on it, clone it and use Python 3's standard library to serve it:

git clone https://github.com/PyDevices/PyDevices.github.io
cd PyDevices.github.io

Try it

python3 tools/serve_local.py --port 8000

It prints:

Serving the sibling checkouts at http://127.0.0.1:8000/
  /                    -> PyDevices.github.io
  /mip/                -> mip/.site + origin/gh-pages
  /gallery/            -> gallery/.site + origin/gh-pages

Open http://127.0.0.1:8000/ and you get the page in the image above, with the clock running. The /mip/ and /gallery/ addresses work when a clone of mip or gallery sits beside this one.

Docs | Roadmap | Contributing

Made by PyDevices.