aboutsummaryrefslogtreecommitdiffstats
path: root/man/blogc-runserver.1.ronn
blob: a306fbe35d48c128a11caccaf61023c1525da16a (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
blogc-runserver(1) -- a simple HTTP server to test blogc websites
=================================================================

## SYNOPSIS

`blogc-runserver` [`-t` <HOST>] [`-p` <PORT>] <DOCROOT><br>
`blogc-runserver` [`-h`|`-v`]

## DESCRIPTION

**blogc-runserver** is a simple HTTP server that makes it easy to test blogc websites.
Users just need to point it to the directory where the target files where built. It
comes with a few pre-defined rules, similar to production webservers, that allow users
to quickly test their websites without configuring a webserver.

`blogc-runserver` is part of `blogc` project, but isn't tied to blogc(1). It may be
able to serve any website built by static site generators.

## OPTIONS

  * `-t` <HOST>:
    HTTP server listen address, defaults to `127.0.0.1`.

  * `-p` <PORT>:
    HTTP server listen port, defaults to `8080`.

  * `-v`:
    Show program name, version and exit.

  * `-h`:
    Show help message and exit.

## ARGUMENTS

  * <DOCROOT>:
    HTTP server document root.

## BUGS

Please report any issues to: <https://github.com/blogc/blogc>

## AUTHOR

Rafael G. Martins &lt;<rafael@rafaelmartins.eng.br>&gt;

## SEE ALSO

blogc(1)