A React web application demonstrating the cxroots Python library, using Pyodide to run Python in the browser.
Install nvm to manage node versions. Then install the required node version with:
nvm install
nvm use
Enable yarn with
corepack enable
and then install the packages needed to build the application
yarn install --immutable
You can then start a local server with
yarn start
pre-commit install
. The pre-commit scripts can also be run manually with pre-commit run --all-files
Tests are run with Jest and are invoked with
yarn test
Tests are run in CI and a coverage report is uploaded to Coveralls
Used https://github.com/xhlulu/react-pyodide-template as an original JS template