shell: Connect an Erlang shell to the running node

Connect an Erlang shell to the running node.

Syntax

bin/zotonic shell 

Requirements and effects

Requires a reachable running node and matching connection configuration.

Choose a site context explicitly with C = z:c(garden). before using site models. This is a trusted administrative shell, not a visitor context. Exit the remote shell with Ctrl-C twice. Do not call q(). to disconnect, because it stops the connected Zotonic node.

Example

bin/zotonic shell

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