datalad catalog-serve

Synopsis

datalad catalog-serve [-h] [-c CATALOG] [--port PORT] [--version]

Description

Start a local http server to render and test a local catalog.

Optional arguments include a custom port.

Examples

SERVE the content of the catalog via a local HTTP server:

% datalad catalog-serve -c /tmp/my-cat

SERVE the content of the catalog via a local HTTP server at a custom port, e.g. http://localhost:8001:

% datalad catalog-serve -c /tmp/my-cat -p 8001

Options

-h, --help, --help-np

show this help message. --help-np forcefully disables the use of a pager for displaying the help message

-c CATALOG, --catalog CATALOG

Location of the existing catalog to be served.

--port PORT

The port at which the content is served at 'localhost' (default 8000). [Default: 8000]

--version

show the module and its version which provides the command

Authors

datalad is developed by DataLad Developers <team@datalad.org>.