rivet: a simple static site generator
 
 
 
Alessandro Mauri 297b3f0c9f better readme, fixed example 5 years ago
.gitignore add src/** to ignore 5 years ago
LICENSE first commit 5 years ago
README.md better readme, fixed example 5 years ago
rivet fixed grep echoing and footer file not showing 5 years ago

README.md

Rivet: static site genetator

River takes a source directory containing a the file sources and produces an output directory that can actually be uploaded to a server.

Dependencies

Examples

Generate site from directory to cool_site

$ rivet -o cool-site/ secret-sauce/ cool-url

The makefile I use to generate my site

SRCDIR = src
DESTDIR = dst
DOMAIN = alemauri.eu

all:
	rivet -o ${DESTDIR} ${SRCDIR} ${DOMAIN}

test: all
	xdg-open ${DESTDIR}/index.html

install: all
	rsync -vmruLz --delete ${DESTDIR}/ www@${DOMAIN}:/www/

clean:
	rm -rf ${DESTDIR}

Similar tools