Wagn 0.13+deploy+procedure

  1. prepare cluster
    • deploy 'wagn_cluster' wagn. 
    • setup configs
      • environment.rb, wagn.rb, amazon_s3.yml, database.yml
      • copy from ang & modify.
    • using apache config and wagn.rb files as source, build server map table (need more details)
       ruby -r config/environment.rb -e 'MultihostMapping.create! :requested_host => "indecks.net", :canonical_host => "indecks.net", :wagn_name =>"wagn"'
  2. for each wagn:
    • cap deploy:s3_setup              # setup amazon bucket and config file.
    • cap deploy                            # includes migration to upload images & files to amazon s3
    • cap deploy:move_to_cluster   # disables existing apache config, copies database into cluster
    • For the first few: apache reload && test; if there are problems a2ensite ${wagn}.wagn.org to route back to working install.