Showing posts with label sahana. Show all posts
Showing posts with label sahana. Show all posts

Thursday, November 11, 2010

Getting Started With Sahana-Eden

I was introduced to Sahana Open Source Disaster Management Platform few years ago at FOSS.in 2008. But never contributed any code to this project until the SahanaCamp 1.2 in Hanoi last week.

Sahana-Eden is based on web2py python web development framework. Coding with Model-View-Control(MVC) framework is breath of fresh air and I dived headlong into the code on day one of the event. Thanks to Fran Boon, for helping creating this quick tutorial for Sahana-eden developer setup.


# Get all dependent packages for sahana-eden 
sudo apt-get install python-lxml python-reportlab python-xlwt python-shapely libgeos-3.2.0

# Create a directory to store web2py and sahana-eden source files
mkdir ~/Sahana

cd Sahana

# Checkout web2py source code
bzr branch lp:~mdipierro/web2py/devel web2py

# web2py applications are stored in directory
cd web2py/applications

# Checkout sahana-eden source
# Note web2py doesn't like - in directory names (Thanks fran!)
bzr branch lp:sahana-eden eden

# Change to base directory
cd ~/Sahana

# Launch rocket web server with password 'eden' 
python web2py/web2py.py -a eden 
web2py Enterprise Web Framework
Created by Massimo Di Pierro, Copyright 2007-2010
Version 1.85.3 (2010-09-18 07:07:46)
Database drivers available: pysqlite2
Starting hardcron...
please visit:
       http://127.0.0.1:8000
starting browser...in 5 seconds

# Open the webpage and login with password 'eden'
firefox http://127.0.0.1:8000/eden

# On first run, sahana-eden creates 000_config.py and cron/ files
# Change FINISHED_EDITING_CONFIG_FILE = True in 000_config.py file
nano web2py/applications/eden/models/000_config.py

# You are done! Start hacking and send it your patches!

Tuesday, October 26, 2010

Sahana Camp in Hanoi Vietnam

SahanaCamp 1.2 will be held from November 2-5, 2010 in Hanoi, Vietnam, sponsored by IBM Vietnam

SahanaCamp 1.2 is a 4 day event to show participants how information technology can help with Disaster Management through the Sahana Eden Open Source Disaster Management Platform. Sahana Eden has been deployed in numerous disasters including the 2010 Haiti Earthquake and Pakistan Floods. SahanaCamp will be an intensive, interactive and participatory event, where participants will get hands on experience using the Sahana Eden Platform. The event will be facilitated by Fran Boon and Michael Howden from the Sahana Software Foundation, who have extensive experience in using technology for Disaster Management and have run similar SahanaCamps in India and Taiwan. SahanaCamp will contain general sessions for people interested in using Sahana Eden for disaster management and technical sessions for people who are interested in supporting the use of Sahana Eden in Vietnam and contributing to the Sahana Eden project.

Spaces are limited. Applications close Thursday, 14 October. Register for SahanaCamp 1.2

For more information, please contact Michael Howden or visit SahanaCamp 2.1 home page.

Popular Posts