Creating a New Module

Creation

To create a new module for Chrysalio, you simply type the following command and answer the questions:

(virtualenv3)$ pip install cookiecutter
(virtualenv3)$ cookiecutter http://cookiecutter.chrysal.io/cookiecutter-chrysalio-module.zip

Your freshly created module is ready for service and theme creation.

Themes

Chrysalio supports changing the appearance of its HTML output via themes. A theme is a collection of Chameleon templates, stylesheets and other static files as images.

Additionally, it has a configuration file, theme.conf which determines the location of templates, in its section [Templates] and static files in its section [Static].

To install your new theme, simply add the path of its parent directory to the theme.roots entry of your application INI file and the name of its directory to the theme.patterns entry.