blogc-runserver
- a simple HTTP server to test blogc websites
blogc-runserver
[-t
HOST] [-p
PORT] DOCROOT
blogc-runserver
[-h
|-v
]
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.
-t
HOSTHTTP server listen address, defaults to 127.0.0.1
.
-p
PORTHTTP server listen port, defaults to 8080
.
-v
Show program name, version and exit.
-h
Show help message and exit.
BLOGC_RUNSERVER_DEFAULT_HOST
Changes the default HTTP server listen address, if defined.
BLOGC_RUNSERVER_DEFAULT_PORT
Changes the default HTTP server listen port, if defined.
Please report any issues to: https://github.com/blogc/blogc
Rafael G. Martins <rafael@rafaelmartins.eng.br>