There are several ways of installing COHORTE on your system. In the following, we detail the manual installation on different platforms.
Which Cohorte Distribution version should download and Install?
Depending on your application needs and the target deployment platform, you have the choice between:
Python Distribution
This distribution (runtime) is intended for pur Python applications based on iPOPO service-component model. It works on mainly all operating systems having Python interpreter version > 2.7+. | |
Python + Java Distribution
This distribution (runtime) is intended for applications composed of Java (Apache Felix iPOJO) and/or Python (Pelix iPOPO) service-oriented components (or only one of the two). As requirement, you need Python 3.4+ and JRE 1.7+. Notice that when you develop a full Java application, Python is required as the principal Cohorte runtime logic is implemented in Python. "Python + Java Distribution" is platform dependent (Some internal Cohorte's Python components are platform dependent). You should install the adequate distribution for your operating system in this case. The Python Distribution is platform independent. |
All the distribution files are listed on the download page.
Installation procedures
Unix-based Operating Systems (Linux, Solaris and Max OS X)
- Extract the distribution archive, i.e.
cohorte-1.0.0-linux-distribution.tar.gz
to the directory you wish to install COHORTE. These instructions assume you chose/opt/isandlatech/cohorte
. The subdirectorycohorte-1.0.0
will be created from the archive. - Go to the
cohorte-1.0.0
directory and launchsetup.sh
command. This will exportCOHORTE_HOME
environment variable (and add it to your home directory’s.bashrc
file). - Ensure to have the access rights to
$COHORTE_HOME
directory (e.g., `sudo chgrp -R your_login cohorte-1.0.0; chown -R your_login cohorte-1.0.0).
Windows
- Prior to install Cohorte, you should have Python 3.4 installed on your machine. You have also to install Pywin32 adequat to your operating system.
- Set
PYTHON_HOME
environment variable to target your installed Python distribution. - Set
PYTHON_INTERPRETER=%PYTHON_HOME%\python.exe
environment variable to target your python interpreter executable. - Unzip the distribution archive to the directory you wish to install COHORTE. These instructions assume you chose
C:\Program Files\Cohorte
. The subdirectorycohorte-1.0.0
will be created from the archive. - Add the
COHORTE_HOME
environment variable by opening up the system properties (WinKey + Pause), selecting the “Advanced” tab, and the “Environment Variables” button, then adding theCOHORTE_HOME
variable in the user variables with the valueC:\Program Files\Cohorte\cohorte-1.0.0\home
. Be sure to omit any quotation marks around the path even if it contains spaces. - Add
%COHORTE_HOME%\bin
to the system’sPATH
environment variable.