You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 years ago | |
---|---|---|
.gitignore | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
rivet | 4 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
- lowdown
- POSIX utilities
- POSIX sh
Examples
Generate site from directory to cool_site
$ rivet -o cool_site source_of_cool_site/
The makefile I use to generate my site
SRCDIR = src
DESTDIR = dst
all:
mkdir -p ${DESTDIR}
ssg -o ${DESTDIR} ${SRCDIR}
test: all
xdg-open ${DESTDIR}/index.html
install: all
rsync -vmruLz --delete ${DESTDIR}/ www@${URL}:/www/
clean:
rm -rf ${DESTDIR}