blob: 44e923ddb23d88974bf9e7be4c09b956777264e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# 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. If not specified, will not start development HTTP server. |
| `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) |
| `NREPL_PORT` | nrepl port for remote debugging access (default: 1234) |
|