3. Deployment Options
Host locally in the Host in the Cloud
command center
on a Laptop
Synchronize these 2 together...
SahanaCamp NYC 3
4. Hardware Requirements
Standalone PC
Windows or Mac
Server
Virtual Server: 512 Mb RAM, 4 Gb HDD
Cloud
Amazon EC2 (free tier available for 1 year)
SahanaCamp NYC
5. Architecture
Web Server e.g. Apache
Application Sahana Eden
Web Framework Web2Py
Programming Language Python
Database MySQL or PostgreSQL
Operating System Windows, Linux or Mac
SahanaCamp NYC
6. Installation process
Wizard on Wiki to select correct instructions:
http://eden.sahanafoundation.org/wiki/InstallationGuidelines
End-User Installer for Windows:
Local hard disk
Flash drive
SahanaCamp NYC
7. Production Server
Physical/Dedicated Server or Virtual Server
Base OS
Debian Linux best-supported
Database
MySQL
PostgreSQL
Pre-image Installation script
Post-Image Configuration script
SahanaCamp NYC
8. Amazon EC2
Sign-up with credit card
Select Data Center closest to you
e.g. US East (Virginia)
EBS for free tier
Community AMIs: Debian Squeeze
SSH key (private/public)
Grow Volume if < 3Gb (hardest part)
Normal Server Scripts
SahanaCamp NYC
17. Testing
Manual
Document Test Cases
Normal Workflows
Exception Conditions
Security
Automated
Selenium (Browser-based)
Test-friendly code
Suite of reusable libraries
Run with different data sets
Check preconditions directly as faster
SahanaCamp NYC