Skip to content

Repository files navigation

python website thing

Quick start

Start an HTTP server serving index.html. This can be done with Node:

npx http-server

Or Python:

python -m http.server

Or any other way that suits you.

Building MicroPython

This repo contains a MicroPython WASM build in the folder micropython-build, generated by a GitHub Action. If you wish to manually build MicroPython, you can do so using Docker.

Warning: this will delete and replace all contents of micropython-build.

  1. Make sure the micropython submodule is actually populated on disk before building. Run: git submodule update --init --recursive
  2. Build the Docker image. One-time step — only needs repeating if you edit dockerfile or docker-build.sh. Run: docker build -f dockerfile -t micropython-wasm-builder .
  3. Run the build. This mounts your current directory into the container at /app, runs make, and copies the output back out to your host. Run: docker run --rm -v "$(pwd)":/app micropython-wasm-builder
  4. Check the output. You should now have micropython.mjs and micropython.wasm sitting in micropython-build/.

About

V0.0.1

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages