chrome: Open a site in Chrome

Open a site in Chrome.

Syntax

bin/zotonic chrome [-s] [--browser-switch ...] <site_name>

Requirements and effects

Requires a running node and an installed supported browser on the host executing the browser action.

Put browser switches before the final site name. -s is a flag without a value in the parser; it enables the local certificate-related behavior. Use the ordinary invocation first. A browser opening successfully does not verify the page response or application behavior.

Example

bin/zotonic chrome garden

Run commands from the Zotonic workspace root. Replace garden with your site name where applicable.