Skip to content

rarous/rarousnet

Repository files navigation

rarousnet

Build status CodeFactor CodeScene Code Health CodeScene System Mastery CodeScene Missed Goals

Sources for https://www.rarous.net/ website.

Site generator

Site generator is Clojure program that reads files in content/weblog and related templates in generator/templates/weblog and generates weblog site. Content is Texy with embedded EDN data in header. Texy is PHP library, that is used via CLI from the Clojure program.

Cards Generator

Cards generator is Node.js program that uses Playwright to generate Social media share images for every blogpost.

Build

yarn build

Run local development for HTML/CSS/JS hot reloading

yarn start

Run wrangler for local development of Cloudflare Pages Functions

cd www.rarous.net
op run --env-file=../.env --no-masking -- wrangler pages dev ../.gryphoon/dist --kv=weblog --r2=storage --compatibility-flag=nodejs_compat --compatibility-date=2023-09-29 

Run wrangler for local development of CRON scripts

op run --env-file=.env  --no-masking  -- wrangler dev --test-scheduled workers/discogs-schedule.js