Quick start
Prerequisites
CcPy requires Python 2.5+ or 3.x
Installation
To install CcPy, type:
./setup.py [install]
CcPy uses two config files (xml format):
- ccpyd.conf - configure CcPy global settings
- ccpy.conf - configure projects to be built
The installation script merely copies CcPy config files ccpy.conf and ccpyd.conf to /etc dir.
You have to edit these configs first before starting with CcPy. Please refer to
ccpyd.conf and
ccpy.conf.
Usage
Once you configured CcPy, you can start it with:
./ccpy.sh
The script will daemonize itself and start executing tasks from ccpy.conf
Normally you will place this call in cron or another scheduler.
The default location of the CcPy log file is /var/log/ccpyd.log, you can change it in /etc/ccpyd.conf
To stop CcPy daemon:
./ccpy.sh stop
Uninstallation
To uninstall CcPy, type:
./setup.py uninstall
The uninstallation script removes config files created during installation and cleans up temporary files created by CcPy daemon.