Skip to content
comhon-project edited this page Aug 23, 2017 · 15 revisions

Table of content

  1. Linux / Mac OS X
  2. Windows
  3. Configurations

Linux / Mac OS X

  • Install Comhon with Composer or download and copy Comhon project folder where you want on your system.
    Comhon is compatible psr-4 autoloading. If you don't use Composer and you don't have your own autoloader, include file Comhon.php located in src folder in your project sources.
  • Create the directory /etc/comhon
  • Create a json file named config.json in previous directory (/etc/comhon/config.json)
  • Finally put at least these two following entries to allow Comhon to find your manifests (take a look at Manifest and Serialization page to know what these following files contain).
{
  "manifestList": "/absolute/path/to/directory/where/is/saved/file/manifestList.xml",
  "serializationList": "/absolute/path/to/directory/where/is/saved/file/serializationList.xml"
}

You're done! Now you can use Comhon! framework.

Windows

Not supported for the moment.

By the way you can follow Linux/Mac instructions but you will need to edit Config.php file and update $lConfig_afe variable to put a valide path were you will create config.json file. That would work.

Configurations

Comhon! allow you to set some configurations (like the folder where you store all your manifest, or your database connection time zone, etc...). As we mentioned earlier, it is the /etc/comhon/config.json that contain all these configurations. All allowed configurations are described in the following manifest file

Comhon/Manifest/Collection/Manifest/Config/manifest.json

Clone this wiki locally