close
Skip to content

Linda-Njau/paws-planets-plates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Paws-Planets-Plates

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.


Prerequisites

  • OCaml ≥ 5.3.0
  • Dune ≥ 3.20
  • OPAM (OCaml package manager)

Setup Instructions

1. Clone the repository

git clone https://github.com/Linda-Njau/paws-planets-plates.git
cd paws-planets-plates

2. Install OCaml and Dune

Create a local OPAM switch and install Dune:

opam switch create .  
eval $(opam env)
opam install dune

3. Install Project Dependencies

opam install . --deps-only

Generating the Static Site

To build the site and generate the _www folder:

dune exec ./bin/ppp.exe

Running a Local Server

To start a local server and preview the generated site:

dune exec ./bin/ppp.exe server

Then open your browser at http://localhost:8000 to view the site.

About

A static blog of some of my favourite things.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors