Reborn
THIS IS SOMETHING
Personal Site
Personal website to unify my fragmented thoughts
Built with OCaml 5.1
Architecture of this site
and etc, mostly used to run the static site generator engine.
Folder structures
- .github/workflows -- run action to compile the site
- engine/ -- SSG engine
- pages/ -- all pages goes there
- static/ -- static files
- data/ -- Markdowns & blog articles source
- templates/ -- Layout templates
How to run it ?
You need to install Ocaml
[ 01 ] Installation
- Install using Make
make deps
[ 02 ] Running
- Create .env file
DEV=true
make watch
- Open localhost:8080
[ 03 ] Build Production
- Make dev mode disabled
DEV=false
- Run build command
make prod