Like nbviewer, but uses Quarto as the renderer.
First, install dependencies:
pip install -U fastapi "uvicorn[standard]" fastcore
Also, install Quarto.
Then, run the app:
uvicorn main:app
Run the script run_docker.sh
to build and run the docker image.
You will see instructions on how to use the app on the home page. If running locally, you should substitute nbsanity.com
with localhost:<PORT>
in the instructions.
To launch to dokku, add the remote:
git remote add prod dokku@nbsanity:q
Then, push to the remote:
ssh dokku@nbsanity repo:purge-cache q
git push prod