Pre-requisites:
- Install python 2.7
apt-get install python2.7
- Install couchdb
apt-get install couchdb
- Install python2.7-dev
apt-get install python2.7-dev
- Install subversion (SVN)
apt-get install subversion
- Install virtualenv
apt-get install virtualenv
- Install python-setuptools
apt-get install python-setuptools
Environment Setup:
- Create virtual environment
virtualenv --no-site-packages --python=python2.7 <foldername>
- Go inside folder <foldername>
cd <foldername>
- Clone git repository
git clone https://github.com/mangroveorg/mangrove.git
- Go to mangrove folder
cd mangrove
- Switch to develop branch
git checkout develop
- Check the status
git status
- Go out of folder <foldername>
cd ../..
- Run requirement.pip file
pip install -E <foldername> -r <foldername>/mangrove/requirements.pip
Execute Environment:
- Activate virtual environment
source <foldername>/bin/activate
- Run server
python <foldername>/mangrove/src/web/manage.py runserver
Access URLs:
- Website URL: http://localhost:8000/login
- Couchdb URL: http://localhost:5984/_utils