Zotonic, the Erlang CMS.
Erlang JavaScript Other
Pull request Compare This branch is 476 commits ahead, 42 commits behind mbbx6spp:master.
Latest commit 5f4237f Sep 1, 2011 @khia readded deps/mochiweb as a subproject
git-subtree-dir: deps/mochiweb
git-subtree-mainline: 3f75879
git-subtree-split: 285265b
Permalink
Failed to load latest commit information.
bin
deps readded deps/mochiweb as a subproject Sep 1, 2011
doc edoc Feb 25, 2011
ebin
include Changes in the acl_add_sql_check notification, now uses a record, inc… Feb 18, 2011
modules
priv Forgot en.pot file Mar 6, 2011
src Fix for editing multilingual content with or without mod_translation. Mar 11, 2011
.hgignore Commandline tweaks Feb 23, 2011
AUTHORS
CONTRIBUTORS
Emakefile
LICENSE Added r1392 from Zotonic svn Nov 12, 2009
Makefile Build deps which are contained in site-specific modules and add to $PA. Feb 16, 2011
NEWS Updated NEWS file and DL graphics on default branch. Feb 12, 2011
README.md
RELEASE Set versions on default branch to 0.7-dev Nov 30, 2010
build.cmd
start.cmd

README.md

Welcome to Zotonic

Here are some starting points for your journey with Zotonic.

INSTALLING

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. Similarly, doc/INSTALL.varnish shows how to put Zotonic behind the varnish http frontend.

FOR ERLANG HACKERS

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".

FOR TEMPLATE WIZARDS

Sites live in priv/sites/*. Their templates are in organized in subfolders. For the templates of the default site, look in priv/sites/default/templates.

After that, 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.

FOR SQL MAGICIANS

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

Thank you and have fun with Zotonic.

Tim Benniks, Arjan Scherpenisse & Marc Worrell