Module zotonic_core

Zotonic core - main routines to 'reason' about the current Zotonic installation.

Copyright © 2017-2021 Marc Worrell

Authors: Marc Worrell (marc@worrell.nl).

Description

Zotonic core - main routines to 'reason' about the current Zotonic installation.

Function Index

is_app_available/1
is_testsandbox/0Check if the current site is running the testsandbox.
is_zotonic_project/0Check if this running Zotonic is the main Git project.
setup/1Initial setup before starting Zotonic, after config files are loaded.

Function Details

is_app_available/1

is_app_available(App) -> any()

is_testsandbox/0

is_testsandbox() -> boolean()

Check if the current site is running the testsandbox

is_zotonic_project/0

is_zotonic_project() -> any()

Check if this running Zotonic is the main Git project. This is used for e.g. the .pot generation.

setup/1

setup(Node::node()) -> ok

Initial setup before starting Zotonic, after config files are loaded. This is normally called by the zotonic_launcher_app, which also reads all config files.


Generated by EDoc