Topic cluster
How-to guide
A goal-oriented document that gives practical steps for a specific outcome.
View topic page10 items
The remaining keywords do not make a useful further split. All matching documentation is listed below.
Automatic recompilation and file watching
Zotonic's file handler watches source changes when a supported watcher is available. Erlang, templates, dispatch files, and assets have different handlers.
Command-line reference
Look up the syntax, requirements, and effects of each bundled command.
Compile changed code and load modules
Use make for the normal project build. On a running development node, the CLI also provides focused operations:
Connect to the running Erlang shell
From the checkout root:
Create a reusable module
Create apps_user/zotonic_mod_garden with the following files. This example adds a discoverable module without starting an extra process.
Find the status site and your site's admin
The status site manages the running Zotonic installation. A site's /admin manages that site's content and enabled modules. They have different scopes and can use different credentials.
Run tests and site checks
Use the project's test workflow in a dedicated development or test environment. Two CLI entry points have different scopes:
Start in the foreground or background
Choose a startup mode for the environment:
Start, stop, and restart a site
Use these commands for one named site:
Trace a small number of Erlang calls
Open the Development function tracing tool as the admin user. Enter a module, optionally a function, and a small limit on the number of calls.