Skip to content

Commit d222169

Browse files
committed
How to build and serve locally
1 parent f36dc5d commit d222169

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,15 @@ files from this content.
1111

1212
A GitHub workflow (`.github/workflows/deploy.yml`) automatically builds and deploys
1313
the website when changed.
14+
15+
16+
## How to build and serve locally
17+
18+
This installs dependencies, builds the website and opens index.html in a browser:
19+
20+
```bash
21+
micromamba create --file environment.yml --yes
22+
micromamba activate "${PWD##*/}" # If dir name == environment name...
23+
poetry install
24+
sphinx-build -b html brodie.id.au _build && open _build/index.html
25+
```

0 commit comments

Comments
 (0)