From 4638487e5a44a5f291e0bc9cb15b20eb3b553399 Mon Sep 17 00:00:00 2001 From: Miguel Date: Thu, 7 Mar 2019 20:49:16 +0100 Subject: Rename and add some documentation --- README.md | 42 +++++------------------------------------- 1 file changed, 5 insertions(+), 37 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 4d03cc1..edc803d 100644 --- a/README.md +++ b/README.md @@ -1,41 +1,9 @@ -# estatico +# estático - static website generator -This is a simple static website generator coded in Haskell. -It uses pandoc for the heavy work, as syntax highlighting and parsing -of the markdown files. +This is my minimalistic static website generator coded in **Haskell**. +It uses **pandoc** et al. for some of the heavy work. -## features +Consult the project page for details: -* No Database -* Only Static Content -* Sitemap derived from Directory Tree -* Simple Markdown Files - -# gitweb - -https://github.com/miguelclean/estatico - -# dockerhub - -https://hub.docker.com/r/migueldirty/estatico/builds - -# example usage - -__NOTE: make sure DIR\_OUT exists and is a free directory__ - -You can use the example websites inside the examples/ directory for a start. - -Inside the input directory (e.g. ./examples/example01/) run something along this lines: - - DIR_IN=`pwd` - DIR_OUT=/mnt/yourwebsiteroot - HTML_ROOT=https://www.example.com - SUDO=sudo - IMAGE=migueldirty/estatico - ${SUDO} docker run --rm -v${DIR_IN}:/in:ro -v${DIR_OUT}:/out:rw ${IMAGE} /in /out ${HTML_ROOT} - -Or if you want to test it locally use some local DIR\_OUT and HTML\_ROOT instead: - - DIR_OUT=/home/miguel/testpage - HTML_ROOT=/home/miguel/testpage +* -- cgit v1.2.3