Suite PY is a simple Python client for SuiteCRM API.
In this section is described how to get the development environment ready on Debian based systems.
It's recommended to use virtualenv
and pip
packages. You can install this two dependencies runnig:
sudo apt-get update
sudo apt-get install virtualenv python-pip
Once you have virtualenv
and pip
tools ready it's time to prepare the virtual environment to run the application.
Following we create a virtual environment and install all Python dependencies:
cd SuitePY
virtualenv env
source env/bin/activate
pip install -r requirements.txt
To be able to use get_pdf_template method, you need to install a custom WebService on your SuiteCRM instance:
- Download zip of latest SuitePY-service release and install it using Module Loader.
- Edit
suitepy.ini
config file and change theurl
parameter tohttps://crm.example.com/custom/service/suitepy/rest.php
.