zotonic / doc /

Filename Size Date modified Message
885 B
3.7 KB
1.5 KB
1.3 KB
5.3 KB
4.2 KB
585 B
1010 B
14.9 KB
3.4 KB
1001 B
3.1 KB
14.5 KB
3.1 KB
Welcome to Zotonic

Here we give you some starting points for your journey with Zotonic.


When you want to install Zotonic, please read the file "doc/INSTALL".
When you want to proxy Zotonic using nginx, then check also the file "doc/INSTALL.nginx" for an example site definition.


When you want to read the source, then start with "src/zotonic_sup.erl" and work your way down using the servers defined in there.  After you have an idea what is what.  Then check the modules to see how they implement all the functionality, start with "mod_base".


Start to scan the modules to see how templates, actions, resources and css/javascript are defined.  Especially the module "mod_base" is of interest as it defines all basic functionality which other modules build upon.  From there continue with "mod_admin" and see how it defines the admin interface, start with the webmachine resources to see which template is used by which resource.


Another useful source of information is the module "src/install/z_install.erl", this erlang module contains the complete SQL datamodel.
Check also "src/install/z_install_data.erl" as it defines the basic set of predicates, categories and whatnot.

Thank you and have fun with Zotonic.

- Tim Benniks & Marc Worrell
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.