Skip to content

Installation

darvid edited this page Dec 28, 2012 · 2 revisions

Before installing Trine, ensure that your server has Python installed, and that is a recent enough version (2.6 is required). Note that Python 3 is not supported at this time; it should not even be installed on most Linux distributions.

Python should come pre-installed on most Linux distributions, and it can be installed and used with little effort on Windows Server.

Step 1. Installing setuptools

On Debian

# apt-get install python-setuptools

On CentOS/any other distro

# wget -O - http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg | sh

On Windows

An installer for setuptools can be downloaded here.

Step 2. Installing pip

On Linux

# curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python

OR

# easy_install pip

On Windows

Run easy_install pip.

Step 3. Install dependencies and Trine

# git clone git://github.com/darvid/trine.git
# cd trine
# pip install -r requirements.txt
# python setup.py install