aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: f3554ddb5176494be5b7f2bbcddac2fb85193d8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# md-site-server

Markdown -> HTML converter and HTTP server.

## Prerequisites

- Install [Chicken Scheme](https://call-cc.org)
- Install [highlight](https://linux.die.net/man/1/highlight)

## Installation & running

    chicken-install -from-list requirements.list
	csi -s app.scm
	
## Environment variables

| Variable | Description |
| -------- | ----------- |
| `PORT` | HTTP server PORT (default: 8080) |
| `SRCROOT` | Relative markdown directory path (default: pages) |
| `WEBROOT` | Relative output directory path (default: dist) |
| `TEMPLATE` | Relative path to HTML file with a single `format` marker (default: template.html) |