blogc-runserver - Man Page

a simple HTTP server to test blogc websites

Synopsis

blogc-runserver [-t HOST] [-p PORT] DOCROOT
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.

Environment

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.

Bugs

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

Author

Rafael G. Martins <rafael@rafaelmartins.eng.br>

See Also

blogc(1)

Referenced By

blogc-make(1).

January 2025 Rafael G. Martins blogc Manual