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

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.

Clone this wiki locally