chromium: Open a site in Chromium

Open a site in Chromium.

Syntax

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

Requirements and effects

Uses the Chrome command parser and requires a running node and Chromium on the browser host.

Put the site name last. Browser switches start with --; -s takes no value and enables the certificate-related development behavior. Check the page in the opened browser, including the selected hostname and any redirect. See the chrome reference for the shared argument behavior.

Example

bin/zotonic chromium garden

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