Skip to content

Installation

T.Tharindu Madushanka Peiris edited this page Jan 11, 2014 · 19 revisions

To install SAMBRO you will need a few pre-installation software packages

Windows OS

  1. WAMPSERVER or..XAMPSERVER (Apache2 MySQL PHP)
    This is for setup our mysql database.

  2. Install Python [http://www.python.org/] comfortable version 2.7.3

  3. Install Python Libraries (python 2.7)
    * lxml for XML export/import: http://pypi.python.org/packages/2.7/l/lxml/lxml-2.3.win32-py2.7.exe * shapely for GIS Features: http://pypi.python.org/packages/2.7/S/Shapely/Shapely-1.2.18.win32-py2.7.exe * setuptools for installing dateutil (& tweepy): http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11.win32-py2.7.exe * dateutil: http://labix.org/download/python-dateutil/python-dateutil-1.5.tar.gz
    No Windows installer for dateutil, so install by unzipping, opening a command line inside the folder & python setup.py install

  4. Install Git [http://msysgit.github.io/]

  5. Install Web2py framework using git...[git clone https://github.com/web2py/web2py.git]

  6. Install SAMBRO using git
    install SAMBRO to your web2py using fallowing git commands throw the git

cd web2py/applications
git clone https://github.com/waidyanatha/sambro-eden.git .
7. Start SAMBRO cd .. # the web2py main directory
python web2py.py

Linux OS

  1. LAMP stack - (Linux, Apache2, MySQL, PHP)

  2. Install Python throw the terminal sudo su - apt-get install python2.7

  3. Install Python Libraries

on debian 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

4.Install Git
on debian like ubuntu..
sudo su -
apt-get install git-core

5.Install Web2py framework using git...[git clone https://github.com/web2py/web2py.git]

6.Install SAMBRO using git
install SAMBRO to your web2py using fallowing git commands throw the git

cd web2py/applications
git clone https://github.com/waidyanatha/sambro-eden.git

7.Start SAMBRO cd .. # the web2py main directory
python web2py.py

Get SAMBRO

Download the code from Github

Clone this wiki locally