{"result":{"depiction_url":null,"edges":{"haspart":{"objects":[{"created":"2026-10-07T11:13:50Z","object_id":{"id":3005,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_addsite","title":{"_type":"trans","tr":{"en":"addsite: Create a site application from a skeleton"}},"uri":"https:\/\/zotonic.com\/id\/3005"},"seq":1},{"created":"2026-10-07T11:13:50Z","object_id":{"id":3006,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_backup","title":{"_type":"trans","tr":{"en":"backup: List, create, or restore backups"}},"uri":"https:\/\/zotonic.com\/id\/3006"},"seq":2},{"created":"2026-10-07T11:13:50Z","object_id":{"id":3007,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_chrome","title":{"_type":"trans","tr":{"en":"chrome: Open a site in Chrome"}},"uri":"https:\/\/zotonic.com\/id\/3007"},"seq":3},{"created":"2026-10-07T11:13:50Z","object_id":{"id":3008,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_chromium","title":{"_type":"trans","tr":{"en":"chromium: Open a site in Chromium"}},"uri":"https:\/\/zotonic.com\/id\/3008"},"seq":4},{"created":"2026-10-07T11:13:50Z","object_id":{"id":3009,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_compile","title":{"_type":"trans","tr":{"en":"compile: Request recompilation on the running node"}},"uri":"https:\/\/zotonic.com\/id\/3009"},"seq":5},{"created":"2026-10-07T11:13:50Z","object_id":{"id":3010,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_compilefile","title":{"_type":"trans","tr":{"en":"compilefile: Recompile one Erlang source file"}},"uri":"https:\/\/zotonic.com\/id\/3010"},"seq":6},{"created":"2026-10-07T11:13:50Z","object_id":{"id":3011,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_config","title":{"_type":"trans","tr":{"en":"config: Display configuration resolved from files"}},"uri":"https:\/\/zotonic.com\/id\/3011"},"seq":7},{"created":"2026-10-07T11:13:50Z","object_id":{"id":3012,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_configfiles","title":{"_type":"trans","tr":{"en":"configfiles: List selected global configuration files"}},"uri":"https:\/\/zotonic.com\/id\/3012"},"seq":8},{"created":"2026-10-07T11:13:50Z","object_id":{"id":3013,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_configtest","title":{"_type":"trans","tr":{"en":"configtest: Check whether global configuration files can be read"}},"uri":"https:\/\/zotonic.com\/id\/3013"},"seq":9},{"created":"2026-10-07T11:13:50Z","object_id":{"id":3014,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_connectdb","title":{"_type":"trans","tr":{"en":"connectdb: Test the configured PostgreSQL connection"}},"uri":"https:\/\/zotonic.com\/id\/3014"},"seq":10},{"created":"2026-10-07T11:13:50Z","object_id":{"id":3015,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_createdb","title":{"_type":"trans","tr":{"en":"createdb: Prepare a site database and schema"}},"uri":"https:\/\/zotonic.com\/id\/3015"},"seq":11},{"created":"2026-10-07T11:13:50Z","object_id":{"id":3016,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_debug","title":{"_type":"trans","tr":{"en":"debug: Start Zotonic in the foreground with an Erlang shell"}},"uri":"https:\/\/zotonic.com\/id\/3016"},"seq":12},{"created":"2026-10-07T11:13:50Z","object_id":{"id":3017,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_decrypt","title":{"_type":"trans","tr":{"en":"decrypt: Decrypt a local encrypted backup file"}},"uri":"https:\/\/zotonic.com\/id\/3017"},"seq":13},{"created":"2026-10-07T11:13:50Z","object_id":{"id":3018,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_dispatch","title":{"_type":"trans","tr":{"en":"dispatch: Inspect dispatch rules or trace a URL"}},"uri":"https:\/\/zotonic.com\/id\/3018"},"seq":14},{"created":"2026-10-07T11:13:50Z","object_id":{"id":3019,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_etop","title":{"_type":"trans","tr":{"en":"etop: Inspect active Erlang processes"}},"uri":"https:\/\/zotonic.com\/id\/3019"},"seq":15},{"created":"2026-10-07T11:13:50Z","object_id":{"id":3020,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_flush","title":{"_type":"trans","tr":{"en":"flush: Flush site caches"}},"uri":"https:\/\/zotonic.com\/id\/3020"},"seq":16},{"created":"2026-10-07T11:13:50Z","object_id":{"id":3021,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_load","title":{"_type":"trans","tr":{"en":"load: Load changed BEAM files"}},"uri":"https:\/\/zotonic.com\/id\/3021"},"seq":17},{"created":"2026-10-07T11:13:50Z","object_id":{"id":3022,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_logtail","title":{"_type":"trans","tr":{"en":"logtail: Print recent lines from a configured log file"}},"uri":"https:\/\/zotonic.com\/id\/3022"},"seq":18},{"created":"2026-10-07T11:13:50Z","object_id":{"id":3023,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_open","title":{"_type":"trans","tr":{"en":"open: Open the site URL in a browser"}},"uri":"https:\/\/zotonic.com\/id\/3023"},"seq":19},{"created":"2026-10-07T11:13:50Z","object_id":{"id":3024,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_pot","title":{"_type":"trans","tr":{"en":"pot: Generate gettext translation template files"}},"uri":"https:\/\/zotonic.com\/id\/3024"},"seq":20},{"created":"2026-10-07T11:13:50Z","object_id":{"id":3025,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_resetratelimit","title":{"_type":"trans","tr":{"en":"resetratelimit: Reset a site rate limiter"}},"uri":"https:\/\/zotonic.com\/id\/3025"},"seq":21},{"created":"2026-10-07T11:13:50Z","object_id":{"id":3026,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_restart","title":{"_type":"trans","tr":{"en":"restart: Restart Zotonic and all sites within the current VM"}},"uri":"https:\/\/zotonic.com\/id\/3026"},"seq":22},{"created":"2026-10-07T11:13:50Z","object_id":{"id":3027,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_restartsite","title":{"_type":"trans","tr":{"en":"restartsite: Restart one site"}},"uri":"https:\/\/zotonic.com\/id\/3027"},"seq":23},{"created":"2026-10-07T11:13:50Z","object_id":{"id":3028,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_rpc","title":{"_type":"trans","tr":{"en":"rpc: Call an exported Erlang function on the node"}},"uri":"https:\/\/zotonic.com\/id\/3028"},"seq":24},{"created":"2026-10-07T11:13:50Z","object_id":{"id":3029,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_runtests","title":{"_type":"trans","tr":{"en":"runtests: Run selected core test modules"}},"uri":"https:\/\/zotonic.com\/id\/3029"},"seq":25},{"created":"2026-10-07T11:13:51Z","object_id":{"id":3030,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_setconfig","title":{"_type":"trans","tr":{"en":"setconfig: Set a global runtime Zotonic value"}},"uri":"https:\/\/zotonic.com\/id\/3030"},"seq":26},{"created":"2026-10-07T11:13:51Z","object_id":{"id":3031,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_shell","title":{"_type":"trans","tr":{"en":"shell: Connect an Erlang shell to the running node"}},"uri":"https:\/\/zotonic.com\/id\/3031"},"seq":27},{"created":"2026-10-07T11:13:51Z","object_id":{"id":3032,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_siteconfig","title":{"_type":"trans","tr":{"en":"siteconfig: Display a site configuration resolved from files"}},"uri":"https:\/\/zotonic.com\/id\/3032"},"seq":28},{"created":"2026-10-07T11:13:51Z","object_id":{"id":3033,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_siteconfigfiles","title":{"_type":"trans","tr":{"en":"siteconfigfiles: List configuration files selected for a site"}},"uri":"https:\/\/zotonic.com\/id\/3033"},"seq":29},{"created":"2026-10-07T11:13:51Z","object_id":{"id":3034,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_sitedir","title":{"_type":"trans","tr":{"en":"sitedir: Show a site application directory"}},"uri":"https:\/\/zotonic.com\/id\/3034"},"seq":30},{"created":"2026-10-07T11:13:51Z","object_id":{"id":3035,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_sitetest","title":{"_type":"trans","tr":{"en":"sitetest: Run site tests using an isolated test schema"}},"uri":"https:\/\/zotonic.com\/id\/3035"},"seq":31},{"created":"2026-10-07T11:13:51Z","object_id":{"id":3036,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_start","title":{"_type":"trans","tr":{"en":"start: Start Zotonic in the background"}},"uri":"https:\/\/zotonic.com\/id\/3036"},"seq":32},{"created":"2026-10-07T11:13:51Z","object_id":{"id":3037,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_start_nodaemon","title":{"_type":"trans","tr":{"en":"start_nodaemon: Start Zotonic in the foreground without an interactive shell"}},"uri":"https:\/\/zotonic.com\/id\/3037"},"seq":33},{"created":"2026-10-07T11:13:51Z","object_id":{"id":3038,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_startsite","title":{"_type":"trans","tr":{"en":"startsite: Start a selected site on the node"}},"uri":"https:\/\/zotonic.com\/id\/3038"},"seq":34},{"created":"2026-10-07T11:13:51Z","object_id":{"id":3039,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_status","title":{"_type":"trans","tr":{"en":"status: Show node and site state"}},"uri":"https:\/\/zotonic.com\/id\/3039"},"seq":35},{"created":"2026-10-07T11:13:51Z","object_id":{"id":3040,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_stop","title":{"_type":"trans","tr":{"en":"stop: Stop the Zotonic node"}},"uri":"https:\/\/zotonic.com\/id\/3040"},"seq":36},{"created":"2026-10-07T11:13:51Z","object_id":{"id":3041,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_stopsite","title":{"_type":"trans","tr":{"en":"stopsite: Stop one site"}},"uri":"https:\/\/zotonic.com\/id\/3041"},"seq":37},{"created":"2026-10-07T11:13:51Z","object_id":{"id":3042,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_update","title":{"_type":"trans","tr":{"en":"update: Compile, load, flush, and rescan the server"}},"uri":"https:\/\/zotonic.com\/id\/3042"},"seq":38},{"created":"2026-10-07T11:13:51Z","object_id":{"id":3043,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_wait","title":{"_type":"trans","tr":{"en":"wait: Wait until the node answers a ping"}},"uri":"https:\/\/zotonic.com\/id\/3043"},"seq":39}],"predicate":{"id":310,"is_a":["meta","predicate"],"name":"haspart","title":{"_type":"trans","tr":{"en":"Contains"}},"uri":"http:\/\/purl.org\/dc\/terms\/hasPart"}},"references":{"objects":[{"created":"2020-05-30T05:47:58Z","object_id":{"id":1481,"is_a":["text","documentation","developerguide"],"name":"doc_developerguide_deployment_env","title":{"_type":"trans","tr":{"en":"Keep development and production settings distinct"}},"uri":"https:\/\/zotonic.com\/id\/1481"},"seq":1000000},{"created":"2020-05-30T05:47:58Z","object_id":{"id":1639,"is_a":["text","documentation","developerguide"],"name":"doc_developerguide_shell","title":{"_type":"trans","tr":{"en":"Connect to the running Erlang shell"}},"uri":"https:\/\/zotonic.com\/id\/1639"},"seq":1000000},{"created":"2020-05-30T05:47:58Z","object_id":{"id":2085,"is_a":["text","documentation","reference"],"name":"doc_reference_cli_cli_addsite","title":"The addsite command","uri":"https:\/\/zotonic.com\/id\/2085"},"seq":1000000},{"created":"2020-05-30T05:47:58Z","object_id":{"id":1279,"is_a":["text","documentation"],"name":"doc_glossary","title":"Glossary","uri":"https:\/\/zotonic.com\/id\/1279"},"seq":1000000},{"created":"2020-05-30T05:47:58Z","object_id":{"id":1454,"is_a":["text","documentation","reference"],"name":"doc_developerguide_configuration_zotonic_configuration","title":"Global configuration","uri":"https:\/\/zotonic.com\/id\/1454"},"seq":1000000},{"created":"2020-05-30T05:47:58Z","object_id":{"id":1546,"is_a":["text","documentation","developerguide"],"name":"doc_developerguide_testing","title":{"_type":"trans","tr":{"en":"Choose checks for a change"}},"uri":"https:\/\/zotonic.com\/id\/1546"},"seq":1000000}],"predicate":{"id":332,"is_a":["meta","predicate"],"name":"references","title":{"_type":"trans","tr":{"en":"References"}},"uri":"https:\/\/zotonic.com\/id\/references"}},"refers":{"objects":[{"created":"2026-10-07T11:13:01Z","object_id":{"id":1547,"is_a":["text","documentation","reference"],"name":"doc_reference_cli_index","title":{"_type":"trans","tr":{"en":"Command-line reference"}},"uri":"https:\/\/zotonic.com\/id\/1547"},"seq":1000000},{"created":"2026-10-07T11:13:01Z","object_id":{"id":1639,"is_a":["text","documentation","developerguide"],"name":"doc_developerguide_shell","title":{"_type":"trans","tr":{"en":"Connect to the running Erlang shell"}},"uri":"https:\/\/zotonic.com\/id\/1639"},"seq":1000000}],"predicate":{"id":2409,"is_a":["meta","predicate"],"name":"refers","title":{"_type":"trans","tr":{"en":"Refers"}},"uri":"https:\/\/zotonic.com\/id\/refers"}},"subject":{"objects":[{"created":"2026-10-07T11:13:51Z","object_id":{"id":2554,"is_a":["categorization","keyword","keyword_information_type"],"name":"zotonic_topic_how_to_guide","title":"How-to guide","uri":"https:\/\/zotonic.com\/id\/2554"},"seq":1},{"created":"2026-10-07T11:13:51Z","object_id":{"id":2564,"is_a":["categorization","keyword","keyword_audience"],"name":"zotonic_topic_backend_developer","title":"Backend developer","uri":"https:\/\/zotonic.com\/id\/2564"},"seq":2},{"created":"2026-10-07T11:13:51Z","object_id":{"id":2613,"is_a":["categorization","keyword","keyword_domain"],"name":"zotonic_topic_development_and_debugging","title":"Development and debugging","uri":"https:\/\/zotonic.com\/id\/2613"},"seq":3},{"created":"2026-10-07T11:13:51Z","object_id":{"id":2670,"is_a":["categorization","keyword","keyword_technology"],"name":"zotonic_topic_erlang_otp","title":"Erlang\/OTP","uri":"https:\/\/zotonic.com\/id\/2670"},"seq":4},{"created":"2026-10-07T11:13:51Z","object_id":{"id":2555,"is_a":["categorization","keyword","keyword_information_type"],"name":"zotonic_topic_reference","title":"Reference","uri":"https:\/\/zotonic.com\/id\/2555"},"seq":5}],"predicate":{"id":308,"is_a":["meta","predicate"],"name":"subject","title":{"_type":"trans","tr":{"en":"Keyword"}},"uri":"http:\/\/purl.org\/dc\/elements\/1.1\/subject"}}},"id":1547,"is_a":["text","documentation","reference"],"links":[{"rel":"self","target":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/1547"},{"rel":"hub","target":"https:\/\/zotonic.com\/.zotonic\/websub"}],"medium":null,"medium_url":null,"name":"doc_reference_cli_index","page_url":{"en":"https:\/\/zotonic.com\/reference\/command-line","x-default":"https:\/\/zotonic.com\/reference\/command-line"},"preview_url":null,"resource":{"version":4042,"pivot_location_lat":null,"title":{"_type":"trans","tr":{"en":"Command-line reference"}},"is_authoritative":true,"body":{"_type":"trans","tr":{"en":"<p>Choose the task that matches what you need to do. The pages explain the relevant workflow and link to related guides and reference material. Examples use the local site <code>garden<\/code>; use your own site name and check the command’s scope before running it.<\/p>\n<h2>Find help and available commands<\/h2>\n<p>Run <code>bin\/zotonic<\/code> from the checkout root to see the available commands. Consult this guide&#39;s <a href=\"\/id\/1547\">Command-line reference<\/a> collection for their arguments and effects.<\/p>\n<p>Use task-specific commands instead of guessing flags from other tools. For example, <code>dispatch<\/code> accepts a site name or URL, while <code>rpc<\/code> passes trailing arguments as strings rather than parsing Erlang expressions.<\/p>\n<p>Before running a command, identify its scope: the entire node, one site, a local file, or an external browser. Configuration commands can display secrets; inspect output locally and redact it before sharing.<\/p>\n<p>The launcher and the server must agree on their node configuration and authentication. A connection error is not proof that a site&#39;s code failed to compile. See <a href=\"\/id\/1639\">Connect to the running Erlang shell<\/a>.<\/p>"}},"slug":"command-line-reference","is_protected":false,"visible_for":0,"tz":"UTC","language":["en"],"is_featured":false,"content_group_id":{"id":339,"is_a":["meta","content_group"],"name":"default_content_group","title":{"_type":"trans","tr":{"en":"Default Content Group"}},"uri":"https:\/\/zotonic.com\/id\/default_content_group"},"category_id":{"id":319,"is_a":["meta","category"],"name":"reference","title":"Reference","uri":"https:\/\/zotonic.com\/id\/reference"},"publication_start":"2023-06-24T08:17:43Z","is_website_redirect":false,"page_path":"\/reference\/command-line","github_url":"https:\/\/github.com\/zotonic\/zotonic\/tree\/master\/doc\/ref\/cli\/index.rst","pivot_location_lng":null,"name":"doc_reference_cli_index","is_unfindable":false,"is_published":true,"doc_editorial_edges":{"haspart":[3005,3006,3007,3008,3009,3010,3011,3012,3013,3014,3015,3016,3017,3018,3019,3020,3021,3022,3023,3024,3025,3026,3027,3028,3029,3030,3031,3032,3033,3034,3035,3036,3037,3038,3039,3040,3041,3042,3043],"subject":[2554,2555,2564,2613,2670]},"summary":{"_type":"trans","tr":{"en":"Look up the syntax, requirements, and effects of each bundled command."}},"pivot_geocode":null,"custom_slug":false,"created":"2020-05-30T05:47:25Z","uri":null,"is_dependent":false,"is_page_path_multiple":false,"publication_end":"9999-08-17T12:00:00Z","modifier_id":{"id":1,"is_a":["person"],"name":"administrator","title":"Site Administrator","uri":"https:\/\/zotonic.com\/id\/1"},"privacy":0,"doc_editorial_bundle":true,"creator_id":{"id":336,"is_a":["person","robot"],"name":"gitbot","title":"Git","uri":"https:\/\/zotonic.com\/id\/336"},"seo_noindex":false,"modified":"2026-10-07T20:45:38Z","title_slug":{"_type":"trans","tr":{"en":"command-line-reference"}}},"uri":"https:\/\/zotonic.com\/id\/1547","uri_template":"https:\/\/zotonic.com\/id\/:id","websub":{"hub":"https:\/\/zotonic.com\/.zotonic\/websub","topic":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/1547"}},"status":"ok"}