wiki:InstallationGuidelines/Linux/Developer/Manual

Version 16 (modified by Fran Boon, 13 years ago) ( diff )

--

Installation Guidelines: Linux - Developer (Manual)

Install Python

The latest Python 2.7 version is currently recommended.

For Debian-based systems like Ubuntu:

sudo su -
apt-get install python2.7

Install Python Libraries

Linux users should generally use the packages provided for their specific distribution, where available.

Mandatory

On Debian-based systems, like Ubuntu:

sudo su -
apt-get install python-lxml
apt-get install python-shapely
apt-get install python-reportlab
apt-get install python-imaging
apt-get install python-dateutil

Optional

  • xlwt for XLS output: apt-get install python-xlwt
  • xlrd for XLS output & reading spreadsheets (used by survey to import data held on a spreadsheet) apt-get install python-xlrd
  • numpy required by matplotlib
  • SciPy required for S3Cube
  • MatPlotLib for charts (used in the Survey & Delphi applications & for the S3Cube pivottable reports)
  • PyTZ for Timezone awareness
  • PyWURFL for Browser Capabilities (unused currently)

Install git

We use the git Distributed Version Control System.

On Debian-based systems, like Ubuntu:

sudo su -
apt-get install git-core

For RPM-based sitributions, like Fedora or RHEL:

yum install git

If you want to develop using the "forks"-feature of GitHub (which are basically branches - but in your own repository) or by commiting code directly to the eden repository, you have to create a GitHub account. After that you can setup your git by configuring your SSH keys and account data. A pretty good tutorial is available at the GitHub-Manual.

Next

Install Web2Py & Sahana:

Note: See TracWiki for help on using the wiki.