Skip to content

Commit

Permalink
How to build and serve locally
Browse files Browse the repository at this point in the history
  • Loading branch information
eidorb committed Nov 25, 2024
1 parent 11f26bb commit 3a1e020
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,15 @@ files from this content.

A GitHub workflow (`.github/workflows/deploy.yml`) automatically builds and deploys
the website when changed.


## How to build and serve locally

This installs dependencies, builds the website and opens index.html in a browser:

```bash
micromamba create --file environment.yml --yes
micromamba activate "${PWD##*/}" # If dir name == environment name...
poetry install
sphinx-build -b html brodie.id.au _build && open _build/index.html
```

0 comments on commit 3a1e020

Please sign in to comment.