egaia serve¶
Run a simple web server for viewing generated html files locally.
Usage¶
egaia serve --help
egaia serve [ --port=PORT ] [ --browser=BROWSER ]
Options¶
--help
- Display this help text and exit.
--port=PORT
- Run a web server on PORT.
--browser=BROWSER
- Open the front page of the archive in BROWSER.
Although archive indexes can be accessed directly on disk, by default all URLs
written by egaia are written as absolute paths relative to the server root, and
therefore will not resolve properly unless viewed from a web server. This
server will allow you to interact with the archive locally for testing
purposes, serving the files available in pub_dir
.
To stop the server, simply kill the process (e.g., with CTRL+C).