From 297b3f0c9fd2129b4bebcab0041ca298c0ca362b Mon Sep 17 00:00:00 2001 From: Alessandro Mauri Date: Thu, 10 Sep 2020 01:01:12 +0200 Subject: [PATCH] better readme, fixed example --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 387df12..e594bbb 100644 --- a/README.md +++ b/README.md @@ -10,23 +10,23 @@ output directory that can actually be uploaded to a server. ## Examples Generate site from directory to `cool_site` ```sh -$ rivet -o cool_site source_of_cool_site/ +$ rivet -o cool-site/ secret-sauce/ cool-url ``` The makefile I use to generate my site ```make SRCDIR = src DESTDIR = dst +DOMAIN = alemauri.eu all: - mkdir -p ${DESTDIR} - ssg -o ${DESTDIR} ${SRCDIR} + rivet -o ${DESTDIR} ${SRCDIR} ${DOMAIN} test: all xdg-open ${DESTDIR}/index.html install: all - rsync -vmruLz --delete ${DESTDIR}/ www@${URL}:/www/ + rsync -vmruLz --delete ${DESTDIR}/ www@${DOMAIN}:/www/ clean: rm -rf ${DESTDIR}