-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
comhon-project edited this page Aug 23, 2017
·
15 revisions
- 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 fileComhon.phplocated insrcfolder in your project sources. - Create the directory
/etc/comhon - Create a json file named
config.jsonin 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.
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.
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