On Mac OS:
curl -LsSf https://astral.sh/uv/install.sh | shOn Windows (PowerShell):
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"- Download Quarto for your OS specific CLI using a version
>=1.9. - Install the CLI
- Check that your CLI installation worked with
quarto check
uv init --lib .uv venv --python 3.13to make a different version installed.source .venv/bin/activateto activate the shelluv add "polars[numpy, pyarrow, excel, database, fsspec, async, graph, plot, style, timezone]" lets-plotuv add --dev ipykernel pyyaml nbformat nbclient "marimo>=0.19.11"- Add the following text to your
pyproject.tomlthat was created and save the file.
[tool.uv]
package = false
quarto create project blog .and the terminal will ask you for a title of your blog. Read more about Quarto blogsquarto add marimo-team/quarto-marimo- Edit your
_quarto.ymlto have the following text (see the _quarto.yml guidance for more). The primary change isoutput-dir: docs.
project:
type: website
output-dir: docs
- This repo has a
new_post.shthat can be run to create a new post with marimo chunks. A. Runchmod +x new_post.shso that the file will run (only needs to be run once). B. Now./new_post.sh test "Test Marimo Post" "J. Hathaway"will create a new folder in thepostsfolder with the folder nametestthat has anindex.qmdfile created with the title oftest marimoand the authorJ. Hathaway. - Now run
QUARTO_MARIMO_VERSION=0.14.6 quarto previewto build your site in thedocsfolder and serve it to your default web browser (Note: at some point we should be able to removeQUARTO_MARIMO_VERSION=0.14.6). - You can explore your website and make any other needed changes.
- Now push your changes to Github and then go to
settings > pagesto fix how our site is rendered using Github pages. We want to use thedocsfolder method.