The directory structure of the Zotonic CMS.
The main directory contains the startup script "start.sh" and the makefile "Makefile" to build the system.
Some very simple documentation and installation guide. The main documentation is on this site. Also contains installation instructions for using Zotonic with nginx and an example Varnish configuration file.
All compiled erlang beam files are placed here.
The main zotonic include file "zotonic.hrl" and basic Webmachine resources used as a basis by other resource modules.
All core modules of Zotonic. See the modules documentation for more information.
The priv directory is the place where all non core files are placed.
Custom tags for the ErlyDTL templates.
Here all the http access logs are written, there is currently no split between different sites.
The directory containing all sites. A single Zotonic system can serve multiple sites. See the documentation about sites for more information.
The Erlang source for the core Zotonic system.
The database drivers. Currently, only PostgreSQL is supported as DBMS. As the modules and models sometimes use database specific queries (especially for full text search) it will not be easy to substitute an alternative database. Read this article why Zotonic only supports PostgreSQL.
The source of the template compiler and runtime files. This is an adapted and extended version of ErlyDTL, which is an Erlang adaptation of the Django Template Language.
Internationalization support. Currently, Zotonic supports basic multi-lingual websites. Full support for Internationalization is planned for the 1.0 release.
The database model and basic installation for sites. The files here are used when an empty database is found and needs to be installed.
All base Zotonic source code. Here you will find the source code for site supervisors, module supervisors, image resize server, context routines, and much more.
Some basic tests for Zotonic. Currently, Zotonic only has unit tests for the template system, based on the ErlyDTL unit tests. These tests will be extended in the near future to cover the entire Zotonic code base.
This page is part of the Zotonic documentation, which is licensed under the Apache License 2.0.