sitedir: Show a site application directory

Show a site application directory.

Syntax

bin/zotonic sitedir <site_name>

Requirements and effects

Requires a running node and asks z_path for the site directory.

Use it to verify which application the node resolves for a site. The returned path can be a build or linked application path; inspect its relationship to your source checkout before editing. A path alone does not indicate that the site is running successfully.

Example

bin/zotonic sitedir garden

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