Paws-Planets-Plates is a quirky static blog built in OCaml using YoCaml. It generates a static site in the _www folder featuring three main sections:
- Paws – content about cats
- Planets – sci-fi reviews
- Plates – recipes
This README will guide you to set up the project locally and generate the static site.
- OCaml ≥ 5.3.0
- Dune ≥ 3.20
- OPAM (OCaml package manager)
git clone https://github.com/Linda-Njau/paws-planets-plates.git
cd paws-planets-platesCreate a local OPAM switch and install Dune:
opam switch create .
eval $(opam env)
opam install duneopam install . --deps-onlyTo build the site and generate the _www folder:
dune exec ./bin/ppp.exeTo start a local server and preview the generated site:
dune exec ./bin/ppp.exe serverThen open your browser at http://localhost:8000 to view the site.