aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 87492f91b955baba44dbb583df085e0f381c5e9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# SSG

Minimal **S**tatic **S**ite **G**enerator written in perl. This software was
inspired in [sw](https://github.com/jroimartin/sw), a suckless webframework.

## Installation

There's no installation method for now. The *ssh* and *styles.css* should be on the same
directory, and the result directory will be there as well.

## Usage

ssg [switches] input-directory

where switches can be:

* -v  print version and exits
* -h  print this help and exits
* -o  set the input directory (by default site.static/)

By default the output directory is *./site.static/* (on the same directory as
this program

## Generation + upload

You can automate all the process creating the following script.

    ./ssg -o mysite input-dir
    rsync -avz mysite/ your.site:/path/to/www

## Author

Matias Linares <matias@deprecated.org>