SlideShare uma empresa Scribd logo
1 de 19
Baixar para ler offline
Deploying Sahana Eden
          Fran Boon
    fran@sahanafoundation.org




          SahanaCamp LA         1
Agenda
Deployment Options


Hardware Requirements


Skills required
   For Installation/Configuration
   For Customization




                       SahanaCamp NYC
Deployment Options
Host locally in the                    Host in the Cloud
command center
  on a Laptop




         Synchronize these 2 together...
                      SahanaCamp NYC                       3
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
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
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
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
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
Amazon EC2




SahanaCamp NYC
Configuration
eden/models/000_config.py
deployment_settings
   Database
database.db_type = "mysql"
database.host = "10.14.6.3"
   Enable/Disable/Rename Modules
("org", Storage(
     name_nice = T("Organizations"),
   Branding
system_name = T("Sahana Eden Emergency Portal")



                         SahanaCamp NYC
Configuration
Security Policy
   1: Simple (default): Global as Reader, Authenticated as Editor
   2: Editor role required for Update/Delete, unless record owned
    by session
   3: Apply Controller ACLs
   4: Apply both Controller & Function ACLs
   5: Apply Controller, Function & Table ACLs
   6: Apply Controller, Function, Table ACLs and Entity Realm
   7: Apply Controller, Function, Table ACLs and Entity Realm +
    Hierarchy
   8: Apply Controller, Function, Table ACLs, Entity Realm +
    Hierarchy and Delegations



                        SahanaCamp NYC
Configuration
   Authentication options
self_registration = True
registration_requires_verification = True
registration_requires_approval = True


       Facebook, Google, LDAP
google_id = "645861.apps.googleusercontent.com"
google_secret = "1EZYxpRV4iMAVvv_pA"


   Workflows
req.use_commit = False
req.generate_req_number = False

                          SahanaCamp NYC
Configuration
   Localization options
deployment_settings.L10n.languages = OrderedDict([

      ("ar", "‫,)"العربية‬

      ("zh-cn", " 中文 ( 简体 )"),
      ("zh-tw", " 中文 ( 繁體 )"),


L10n.date_format = T("%m-%d-%Y")
L10n.decimal_separator = "."
L10n.thousands_separator = ","




                           SahanaCamp NYC
Prepopulate
private/prepopulate
   tasks.cfg
CSVs
   Lookup Lists
   Assessment Templates
   Roles
   Test/Demo Data
Import after Installation
   Same CSVs



                    SahanaCamp NYC
Maintenance
Backups
Upgrades
   /usr/local/bin/clean
   /usr/local/bin/pull
   /usr/local/bin/compile
   Maintenance Mode
       Disable Web Access: Holding Page
       Disable Scheduler




                          SahanaCamp NYC
Development
Customising Sahana Eden
   Python
   JavaScript
   Version Control: Git
   Get changes merged upstream




                    SahanaCamp NYC
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
Release Process
Summary
Flexible Deployment Options
   Laptop: Windows or Mac
   Server: Linux
   Cloud: Amazon, Linux
Configuration
   Deployment Settings
   Prepopulate CSVs
Customisation
   Development: Python & JavaScript
   Testing
   Release Management
                     SahanaCamp NYC

Mais conteúdo relacionado

Mais procurados

Docker on AWS with Amazon ECR & ECS - Pop-up Loft Tel Aviv
Docker on AWS with Amazon ECR & ECS - Pop-up Loft Tel Aviv Docker on AWS with Amazon ECR & ECS - Pop-up Loft Tel Aviv
Docker on AWS with Amazon ECR & ECS - Pop-up Loft Tel Aviv Amazon Web Services
 
Building drupal web farms with IIS - part 1
Building drupal web farms with IIS - part 1Building drupal web farms with IIS - part 1
Building drupal web farms with IIS - part 1Alessandro Pilotti
 
How to Upgrade Your Database Plan on Heroku and Rails Setup?
How to Upgrade Your Database Plan on Heroku and Rails Setup?How to Upgrade Your Database Plan on Heroku and Rails Setup?
How to Upgrade Your Database Plan on Heroku and Rails Setup?Katy Slemon
 
Ansible v2 and Beyond (Ansible Hawai'i Meetup)
Ansible v2 and Beyond (Ansible Hawai'i Meetup)Ansible v2 and Beyond (Ansible Hawai'i Meetup)
Ansible v2 and Beyond (Ansible Hawai'i Meetup)Timothy Appnel
 
DevOps for Humans - Ansible for Drupal Deployment Victory!
DevOps for Humans - Ansible for Drupal Deployment Victory!DevOps for Humans - Ansible for Drupal Deployment Victory!
DevOps for Humans - Ansible for Drupal Deployment Victory!Jeff Geerling
 
What's New in v2 - AnsibleFest London 2015
What's New in v2 - AnsibleFest London 2015What's New in v2 - AnsibleFest London 2015
What's New in v2 - AnsibleFest London 2015jimi-c
 
UEMB100: Agent vs. Agentless
UEMB100: Agent vs. AgentlessUEMB100: Agent vs. Agentless
UEMB100: Agent vs. AgentlessIvanti
 
SaltConf14 - Eric johnson, Google - Orchestrating Google Compute Engine with ...
SaltConf14 - Eric johnson, Google - Orchestrating Google Compute Engine with ...SaltConf14 - Eric johnson, Google - Orchestrating Google Compute Engine with ...
SaltConf14 - Eric johnson, Google - Orchestrating Google Compute Engine with ...SaltStack
 
Ansible Devops North East - slides
Ansible Devops North East - slides Ansible Devops North East - slides
Ansible Devops North East - slides InfinityPP
 
Python Deployment with Fabric
Python Deployment with FabricPython Deployment with Fabric
Python Deployment with Fabricandymccurdy
 
Let's Code our Infrastructure!
Let's Code our Infrastructure!Let's Code our Infrastructure!
Let's Code our Infrastructure!continuousphp
 
AWS Elastic Beanstalk - Running Microservices and Docker
AWS Elastic Beanstalk - Running Microservices and DockerAWS Elastic Beanstalk - Running Microservices and Docker
AWS Elastic Beanstalk - Running Microservices and DockerAmazon Web Services
 
AWS Elastic Beanstalk: Running Multi-Container Docker Applications - DevDay L...
AWS Elastic Beanstalk: Running Multi-Container Docker Applications - DevDay L...AWS Elastic Beanstalk: Running Multi-Container Docker Applications - DevDay L...
AWS Elastic Beanstalk: Running Multi-Container Docker Applications - DevDay L...Amazon Web Services
 
Automating the Cloud with Terraform, and Ansible
Automating the Cloud with Terraform, and AnsibleAutomating the Cloud with Terraform, and Ansible
Automating the Cloud with Terraform, and AnsibleBrian Hogan
 
Magento 2 Workflows
Magento 2 WorkflowsMagento 2 Workflows
Magento 2 WorkflowsRyan Street
 
KKBOX WWDC17 WatchOS - Dada
KKBOX WWDC17  WatchOS  - DadaKKBOX WWDC17  WatchOS  - Dada
KKBOX WWDC17 WatchOS - DadaLiyao Chen
 
Automation of Active Directory's Deployments on AWS
Automation of Active Directory's Deployments on AWSAutomation of Active Directory's Deployments on AWS
Automation of Active Directory's Deployments on AWSDevoteam Revolve
 

Mais procurados (20)

Docker on AWS with Amazon ECR & ECS - Pop-up Loft Tel Aviv
Docker on AWS with Amazon ECR & ECS - Pop-up Loft Tel Aviv Docker on AWS with Amazon ECR & ECS - Pop-up Loft Tel Aviv
Docker on AWS with Amazon ECR & ECS - Pop-up Loft Tel Aviv
 
Building drupal web farms with IIS - part 1
Building drupal web farms with IIS - part 1Building drupal web farms with IIS - part 1
Building drupal web farms with IIS - part 1
 
Splunk for JMX
Splunk for JMXSplunk for JMX
Splunk for JMX
 
ansible why ?
ansible why ?ansible why ?
ansible why ?
 
How to Upgrade Your Database Plan on Heroku and Rails Setup?
How to Upgrade Your Database Plan on Heroku and Rails Setup?How to Upgrade Your Database Plan on Heroku and Rails Setup?
How to Upgrade Your Database Plan on Heroku and Rails Setup?
 
Ansible v2 and Beyond (Ansible Hawai'i Meetup)
Ansible v2 and Beyond (Ansible Hawai'i Meetup)Ansible v2 and Beyond (Ansible Hawai'i Meetup)
Ansible v2 and Beyond (Ansible Hawai'i Meetup)
 
DevOps for Humans - Ansible for Drupal Deployment Victory!
DevOps for Humans - Ansible for Drupal Deployment Victory!DevOps for Humans - Ansible for Drupal Deployment Victory!
DevOps for Humans - Ansible for Drupal Deployment Victory!
 
What's New in v2 - AnsibleFest London 2015
What's New in v2 - AnsibleFest London 2015What's New in v2 - AnsibleFest London 2015
What's New in v2 - AnsibleFest London 2015
 
UEMB100: Agent vs. Agentless
UEMB100: Agent vs. AgentlessUEMB100: Agent vs. Agentless
UEMB100: Agent vs. Agentless
 
SaltConf14 - Eric johnson, Google - Orchestrating Google Compute Engine with ...
SaltConf14 - Eric johnson, Google - Orchestrating Google Compute Engine with ...SaltConf14 - Eric johnson, Google - Orchestrating Google Compute Engine with ...
SaltConf14 - Eric johnson, Google - Orchestrating Google Compute Engine with ...
 
Ansible Devops North East - slides
Ansible Devops North East - slides Ansible Devops North East - slides
Ansible Devops North East - slides
 
Python Deployment with Fabric
Python Deployment with FabricPython Deployment with Fabric
Python Deployment with Fabric
 
Let's Code our Infrastructure!
Let's Code our Infrastructure!Let's Code our Infrastructure!
Let's Code our Infrastructure!
 
Cyansible
CyansibleCyansible
Cyansible
 
AWS Elastic Beanstalk - Running Microservices and Docker
AWS Elastic Beanstalk - Running Microservices and DockerAWS Elastic Beanstalk - Running Microservices and Docker
AWS Elastic Beanstalk - Running Microservices and Docker
 
AWS Elastic Beanstalk: Running Multi-Container Docker Applications - DevDay L...
AWS Elastic Beanstalk: Running Multi-Container Docker Applications - DevDay L...AWS Elastic Beanstalk: Running Multi-Container Docker Applications - DevDay L...
AWS Elastic Beanstalk: Running Multi-Container Docker Applications - DevDay L...
 
Automating the Cloud with Terraform, and Ansible
Automating the Cloud with Terraform, and AnsibleAutomating the Cloud with Terraform, and Ansible
Automating the Cloud with Terraform, and Ansible
 
Magento 2 Workflows
Magento 2 WorkflowsMagento 2 Workflows
Magento 2 Workflows
 
KKBOX WWDC17 WatchOS - Dada
KKBOX WWDC17  WatchOS  - DadaKKBOX WWDC17  WatchOS  - Dada
KKBOX WWDC17 WatchOS - Dada
 
Automation of Active Directory's Deployments on AWS
Automation of Active Directory's Deployments on AWSAutomation of Active Directory's Deployments on AWS
Automation of Active Directory's Deployments on AWS
 

Destaque

SahanaCamp NYC Day 1 AM: Sahana Eden Case Studies
SahanaCamp NYC Day 1 AM: Sahana Eden Case StudiesSahanaCamp NYC Day 1 AM: Sahana Eden Case Studies
SahanaCamp NYC Day 1 AM: Sahana Eden Case StudiesSahana Software Foundation
 
SahanaCamp NYC Day 2 PM: Partnerships with the Sahana Software Foundation
SahanaCamp NYC Day 2 PM: Partnerships with the Sahana Software FoundationSahanaCamp NYC Day 2 PM: Partnerships with the Sahana Software Foundation
SahanaCamp NYC Day 2 PM: Partnerships with the Sahana Software FoundationSahana Software Foundation
 
SahanaCamp NYC Day 1 AM: Sahana Software Solutions
SahanaCamp NYC Day 1 AM: Sahana Software SolutionsSahanaCamp NYC Day 1 AM: Sahana Software Solutions
SahanaCamp NYC Day 1 AM: Sahana Software SolutionsSahana Software Foundation
 
Sahana Software Foundation Overview Brief - Long
Sahana Software Foundation Overview Brief - LongSahana Software Foundation Overview Brief - Long
Sahana Software Foundation Overview Brief - LongSahana Software Foundation
 
Prutsalis Urgency Of Reading International Symposium - HFOSS Disaster Managem...
Prutsalis Urgency Of Reading International Symposium - HFOSS Disaster Managem...Prutsalis Urgency Of Reading International Symposium - HFOSS Disaster Managem...
Prutsalis Urgency Of Reading International Symposium - HFOSS Disaster Managem...Sahana Software Foundation
 

Destaque (9)

SahanaCamp NYC Day 2 AM: Introduction to SEMS
SahanaCamp NYC Day 2 AM: Introduction to SEMSSahanaCamp NYC Day 2 AM: Introduction to SEMS
SahanaCamp NYC Day 2 AM: Introduction to SEMS
 
SahanaCamp NYC Day 3: Eden Technical Workshop
SahanaCamp NYC Day 3: Eden Technical WorkshopSahanaCamp NYC Day 3: Eden Technical Workshop
SahanaCamp NYC Day 3: Eden Technical Workshop
 
SahanaCamp NYC Day 1 AM: Sahana Eden Case Studies
SahanaCamp NYC Day 1 AM: Sahana Eden Case StudiesSahanaCamp NYC Day 1 AM: Sahana Eden Case Studies
SahanaCamp NYC Day 1 AM: Sahana Eden Case Studies
 
SahanaCamp NYC Day 2 PM: Partnerships with the Sahana Software Foundation
SahanaCamp NYC Day 2 PM: Partnerships with the Sahana Software FoundationSahanaCamp NYC Day 2 PM: Partnerships with the Sahana Software Foundation
SahanaCamp NYC Day 2 PM: Partnerships with the Sahana Software Foundation
 
Sahana CiMAG May 2013
Sahana CiMAG May 2013Sahana CiMAG May 2013
Sahana CiMAG May 2013
 
SahanaCamp NYC Day 1 AM: Sahana Software Solutions
SahanaCamp NYC Day 1 AM: Sahana Software SolutionsSahanaCamp NYC Day 1 AM: Sahana Software Solutions
SahanaCamp NYC Day 1 AM: Sahana Software Solutions
 
Sahana Software Foundation Overview Brief - Long
Sahana Software Foundation Overview Brief - LongSahana Software Foundation Overview Brief - Long
Sahana Software Foundation Overview Brief - Long
 
Prutsalis Urgency Of Reading International Symposium - HFOSS Disaster Managem...
Prutsalis Urgency Of Reading International Symposium - HFOSS Disaster Managem...Prutsalis Urgency Of Reading International Symposium - HFOSS Disaster Managem...
Prutsalis Urgency Of Reading International Symposium - HFOSS Disaster Managem...
 
Sahana Eden NYC Python Meetup - July 9, 2013
Sahana Eden   NYC Python Meetup - July 9, 2013Sahana Eden   NYC Python Meetup - July 9, 2013
Sahana Eden NYC Python Meetup - July 9, 2013
 

Semelhante a SahanaCamp NYC Day 2 PM: Deploying Sahana Eden

A Day in the Life of a Silicon Valley Startup
A Day in the Life of a Silicon Valley StartupA Day in the Life of a Silicon Valley Startup
A Day in the Life of a Silicon Valley StartupSachin Rekhi
 
UEMB200: Next Generation of Endpoint Management Architecture and Discovery Se...
UEMB200: Next Generation of Endpoint Management Architecture and Discovery Se...UEMB200: Next Generation of Endpoint Management Architecture and Discovery Se...
UEMB200: Next Generation of Endpoint Management Architecture and Discovery Se...Ivanti
 
Java 6 [Mustang] - Features and Enchantments
Java 6 [Mustang] - Features and Enchantments Java 6 [Mustang] - Features and Enchantments
Java 6 [Mustang] - Features and Enchantments Pavel Kaminsky
 
Analitica de datos en tiempo real con Apache Flink y Apache BEAM
Analitica de datos en tiempo real con Apache Flink y Apache BEAMAnalitica de datos en tiempo real con Apache Flink y Apache BEAM
Analitica de datos en tiempo real con Apache Flink y Apache BEAMjavier ramirez
 
Planning For High Performance Web Application
Planning For High Performance Web ApplicationPlanning For High Performance Web Application
Planning For High Performance Web ApplicationYue Tian
 
TechWiseTV Workshop: Catalyst Switching Programmability
TechWiseTV Workshop: Catalyst Switching ProgrammabilityTechWiseTV Workshop: Catalyst Switching Programmability
TechWiseTV Workshop: Catalyst Switching ProgrammabilityRobb Boyd
 
Windows Server AppFabric Caching - What it is & when you should use it?
Windows Server AppFabric Caching - What it is & when you should use it?Windows Server AppFabric Caching - What it is & when you should use it?
Windows Server AppFabric Caching - What it is & when you should use it?Robert MacLean
 
Planning for-high-performance-web-application
Planning for-high-performance-web-applicationPlanning for-high-performance-web-application
Planning for-high-performance-web-applicationNguyễn Duy Nhân
 
Maxim Salnikov - Service Worker: taking the best from the past experience for...
Maxim Salnikov - Service Worker: taking the best from the past experience for...Maxim Salnikov - Service Worker: taking the best from the past experience for...
Maxim Salnikov - Service Worker: taking the best from the past experience for...Codemotion
 
(BIZ401) Kellogg Company Runs SAP in a Hybrid Environment | AWS re:Invent 2014
(BIZ401) Kellogg Company Runs SAP in a Hybrid Environment | AWS re:Invent 2014(BIZ401) Kellogg Company Runs SAP in a Hybrid Environment | AWS re:Invent 2014
(BIZ401) Kellogg Company Runs SAP in a Hybrid Environment | AWS re:Invent 2014Amazon Web Services
 
3 installation-setup-of-r3
3 installation-setup-of-r33 installation-setup-of-r3
3 installation-setup-of-r3sanganiraju
 
Monitoring shootout loadays
Monitoring shootout loadaysMonitoring shootout loadays
Monitoring shootout loadaystomdc
 
Developing Social Games in the Cloud
Developing Social Games in the CloudDeveloping Social Games in the Cloud
Developing Social Games in the CloudJurriaan Persyn
 
Deep Dive into AWS Fargate - CON333 - re:Invent 2017
Deep Dive into AWS Fargate - CON333 - re:Invent 2017Deep Dive into AWS Fargate - CON333 - re:Invent 2017
Deep Dive into AWS Fargate - CON333 - re:Invent 2017Amazon Web Services
 
Infrastructure as code, using Terraform
Infrastructure as code, using TerraformInfrastructure as code, using Terraform
Infrastructure as code, using TerraformHarkamal Singh
 
Foreman presentation
Foreman presentationForeman presentation
Foreman presentationGlen Ogilvie
 
Tech 2 - Introduction to the Code
Tech 2 - Introduction to the CodeTech 2 - Introduction to the Code
Tech 2 - Introduction to the CodeAidIQ
 

Semelhante a SahanaCamp NYC Day 2 PM: Deploying Sahana Eden (20)

A Day in the Life of a Silicon Valley Startup
A Day in the Life of a Silicon Valley StartupA Day in the Life of a Silicon Valley Startup
A Day in the Life of a Silicon Valley Startup
 
Deep dive into AWS fargate
Deep dive into AWS fargateDeep dive into AWS fargate
Deep dive into AWS fargate
 
UEMB200: Next Generation of Endpoint Management Architecture and Discovery Se...
UEMB200: Next Generation of Endpoint Management Architecture and Discovery Se...UEMB200: Next Generation of Endpoint Management Architecture and Discovery Se...
UEMB200: Next Generation of Endpoint Management Architecture and Discovery Se...
 
Java 6 [Mustang] - Features and Enchantments
Java 6 [Mustang] - Features and Enchantments Java 6 [Mustang] - Features and Enchantments
Java 6 [Mustang] - Features and Enchantments
 
Analitica de datos en tiempo real con Apache Flink y Apache BEAM
Analitica de datos en tiempo real con Apache Flink y Apache BEAMAnalitica de datos en tiempo real con Apache Flink y Apache BEAM
Analitica de datos en tiempo real con Apache Flink y Apache BEAM
 
Planning For High Performance Web Application
Planning For High Performance Web ApplicationPlanning For High Performance Web Application
Planning For High Performance Web Application
 
TechWiseTV Workshop: Catalyst Switching Programmability
TechWiseTV Workshop: Catalyst Switching ProgrammabilityTechWiseTV Workshop: Catalyst Switching Programmability
TechWiseTV Workshop: Catalyst Switching Programmability
 
Shailendra-Linux-Cloud(1)
Shailendra-Linux-Cloud(1)Shailendra-Linux-Cloud(1)
Shailendra-Linux-Cloud(1)
 
Windows Server AppFabric Caching - What it is & when you should use it?
Windows Server AppFabric Caching - What it is & when you should use it?Windows Server AppFabric Caching - What it is & when you should use it?
Windows Server AppFabric Caching - What it is & when you should use it?
 
Planning for-high-performance-web-application
Planning for-high-performance-web-applicationPlanning for-high-performance-web-application
Planning for-high-performance-web-application
 
Maxim Salnikov - Service Worker: taking the best from the past experience for...
Maxim Salnikov - Service Worker: taking the best from the past experience for...Maxim Salnikov - Service Worker: taking the best from the past experience for...
Maxim Salnikov - Service Worker: taking the best from the past experience for...
 
(BIZ401) Kellogg Company Runs SAP in a Hybrid Environment | AWS re:Invent 2014
(BIZ401) Kellogg Company Runs SAP in a Hybrid Environment | AWS re:Invent 2014(BIZ401) Kellogg Company Runs SAP in a Hybrid Environment | AWS re:Invent 2014
(BIZ401) Kellogg Company Runs SAP in a Hybrid Environment | AWS re:Invent 2014
 
AppengineJS
AppengineJSAppengineJS
AppengineJS
 
3 installation-setup-of-r3
3 installation-setup-of-r33 installation-setup-of-r3
3 installation-setup-of-r3
 
Monitoring shootout loadays
Monitoring shootout loadaysMonitoring shootout loadays
Monitoring shootout loadays
 
Developing Social Games in the Cloud
Developing Social Games in the CloudDeveloping Social Games in the Cloud
Developing Social Games in the Cloud
 
Deep Dive into AWS Fargate - CON333 - re:Invent 2017
Deep Dive into AWS Fargate - CON333 - re:Invent 2017Deep Dive into AWS Fargate - CON333 - re:Invent 2017
Deep Dive into AWS Fargate - CON333 - re:Invent 2017
 
Infrastructure as code, using Terraform
Infrastructure as code, using TerraformInfrastructure as code, using Terraform
Infrastructure as code, using Terraform
 
Foreman presentation
Foreman presentationForeman presentation
Foreman presentation
 
Tech 2 - Introduction to the Code
Tech 2 - Introduction to the CodeTech 2 - Introduction to the Code
Tech 2 - Introduction to the Code
 

Mais de Sahana Software Foundation

SahanaCamp NYC Day 2 PM: Managing A Deployment
SahanaCamp NYC Day 2 PM: Managing A DeploymentSahanaCamp NYC Day 2 PM: Managing A Deployment
SahanaCamp NYC Day 2 PM: Managing A DeploymentSahana Software Foundation
 
Disasters Roundtable Abstract: Opportunities for Information and Technologica...
Disasters Roundtable Abstract: Opportunities for Information and Technologica...Disasters Roundtable Abstract: Opportunities for Information and Technologica...
Disasters Roundtable Abstract: Opportunities for Information and Technologica...Sahana Software Foundation
 
Disasters Roundtable: Opportunities for Information and Technological Recovery
Disasters Roundtable: Opportunities for Information and Technological RecoveryDisasters Roundtable: Opportunities for Information and Technological Recovery
Disasters Roundtable: Opportunities for Information and Technological RecoverySahana Software Foundation
 

Mais de Sahana Software Foundation (20)

Sahana Eden NEREIDS Cyprus
Sahana Eden NEREIDS CyprusSahana Eden NEREIDS Cyprus
Sahana Eden NEREIDS Cyprus
 
Sahana at #NYTechResponds
Sahana at #NYTechRespondsSahana at #NYTechResponds
Sahana at #NYTechResponds
 
Sahana EUROSHA - Open World Forum 2012
Sahana EUROSHA - Open World Forum 2012Sahana EUROSHA - Open World Forum 2012
Sahana EUROSHA - Open World Forum 2012
 
Prutsalis WCDM Narrative
Prutsalis WCDM NarrativePrutsalis WCDM Narrative
Prutsalis WCDM Narrative
 
Prutsalis WCDM Address
Prutsalis WCDM AddressPrutsalis WCDM Address
Prutsalis WCDM Address
 
SSF 2011 Annual Report
SSF 2011 Annual ReportSSF 2011 Annual Report
SSF 2011 Annual Report
 
SSF 2012 Annual Meeting Master
SSF 2012 Annual Meeting MasterSSF 2012 Annual Meeting Master
SSF 2012 Annual Meeting Master
 
SahanaCamp NYC Day 2 PM: Managing A Deployment
SahanaCamp NYC Day 2 PM: Managing A DeploymentSahanaCamp NYC Day 2 PM: Managing A Deployment
SahanaCamp NYC Day 2 PM: Managing A Deployment
 
SahanaCamp NYC Day 1 PM: Simulation
SahanaCamp NYC Day 1 PM: SimulationSahanaCamp NYC Day 1 PM: Simulation
SahanaCamp NYC Day 1 PM: Simulation
 
Introduction to Sahana Eden - EMAG - May 2012
Introduction to Sahana Eden - EMAG - May 2012Introduction to Sahana Eden - EMAG - May 2012
Introduction to Sahana Eden - EMAG - May 2012
 
Sahana at St. Johns University
Sahana at St. Johns UniversitySahana at St. Johns University
Sahana at St. Johns University
 
Disasters Roundtable Abstract: Opportunities for Information and Technologica...
Disasters Roundtable Abstract: Opportunities for Information and Technologica...Disasters Roundtable Abstract: Opportunities for Information and Technologica...
Disasters Roundtable Abstract: Opportunities for Information and Technologica...
 
Disasters Roundtable: Opportunities for Information and Technological Recovery
Disasters Roundtable: Opportunities for Information and Technological RecoveryDisasters Roundtable: Opportunities for Information and Technological Recovery
Disasters Roundtable: Opportunities for Information and Technological Recovery
 
Ssf techchange jan2012
Ssf techchange jan2012Ssf techchange jan2012
Ssf techchange jan2012
 
SSF NYC VOADS January 2012
SSF NYC VOADS January 2012SSF NYC VOADS January 2012
SSF NYC VOADS January 2012
 
Sahana Eden Brochure
Sahana Eden BrochureSahana Eden Brochure
Sahana Eden Brochure
 
SahanaCamp LA Technical Sessions Overview
SahanaCamp LA Technical Sessions OverviewSahanaCamp LA Technical Sessions Overview
SahanaCamp LA Technical Sessions Overview
 
SahanaCamp LA SSF Briefing
SahanaCamp LA SSF BriefingSahanaCamp LA SSF Briefing
SahanaCamp LA SSF Briefing
 
SahanaCamp LA Introduction
SahanaCamp LA IntroductionSahanaCamp LA Introduction
SahanaCamp LA Introduction
 
Sahana Eden brochure
Sahana Eden brochureSahana Eden brochure
Sahana Eden brochure
 

Último

Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 

Último (20)

Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 

SahanaCamp NYC Day 2 PM: Deploying Sahana Eden

  • 1. Deploying Sahana Eden Fran Boon fran@sahanafoundation.org SahanaCamp LA 1
  • 2. Agenda Deployment Options Hardware Requirements Skills required  For Installation/Configuration  For Customization SahanaCamp NYC
  • 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
  • 10. Configuration eden/models/000_config.py deployment_settings  Database database.db_type = "mysql" database.host = "10.14.6.3"  Enable/Disable/Rename Modules ("org", Storage( name_nice = T("Organizations"),  Branding system_name = T("Sahana Eden Emergency Portal") SahanaCamp NYC
  • 11. Configuration Security Policy  1: Simple (default): Global as Reader, Authenticated as Editor  2: Editor role required for Update/Delete, unless record owned by session  3: Apply Controller ACLs  4: Apply both Controller & Function ACLs  5: Apply Controller, Function & Table ACLs  6: Apply Controller, Function, Table ACLs and Entity Realm  7: Apply Controller, Function, Table ACLs and Entity Realm + Hierarchy  8: Apply Controller, Function, Table ACLs, Entity Realm + Hierarchy and Delegations SahanaCamp NYC
  • 12. Configuration  Authentication options self_registration = True registration_requires_verification = True registration_requires_approval = True  Facebook, Google, LDAP google_id = "645861.apps.googleusercontent.com" google_secret = "1EZYxpRV4iMAVvv_pA"  Workflows req.use_commit = False req.generate_req_number = False SahanaCamp NYC
  • 13. Configuration  Localization options deployment_settings.L10n.languages = OrderedDict([ ("ar", "‫,)"العربية‬ ("zh-cn", " 中文 ( 简体 )"), ("zh-tw", " 中文 ( 繁體 )"), L10n.date_format = T("%m-%d-%Y") L10n.decimal_separator = "." L10n.thousands_separator = "," SahanaCamp NYC
  • 14. Prepopulate private/prepopulate  tasks.cfg CSVs  Lookup Lists  Assessment Templates  Roles  Test/Demo Data Import after Installation  Same CSVs SahanaCamp NYC
  • 15. Maintenance Backups Upgrades  /usr/local/bin/clean  /usr/local/bin/pull  /usr/local/bin/compile  Maintenance Mode  Disable Web Access: Holding Page  Disable Scheduler SahanaCamp NYC
  • 16. Development Customising Sahana Eden  Python  JavaScript  Version Control: Git  Get changes merged upstream 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
  • 19. Summary Flexible Deployment Options  Laptop: Windows or Mac  Server: Linux  Cloud: Amazon, Linux Configuration  Deployment Settings  Prepopulate CSVs Customisation  Development: Python & JavaScript  Testing  Release Management SahanaCamp NYC