Sha256: a8a7ff4d38bc5c8881d5c38355d21f0c3a2728a2407df325a95d8eb4b2eea47d

Contents?: true

Size: 1.08 KB

Versions: 9

Compression:

Stored size: 1.08 KB

Contents

$KCODE = 'u'
require 'config/boot.rb'
require 'config/environment.rb'
require "aws_sdb"

log = Logger.new(STDOUT)
log.level = Logger::ERROR

devpay_config = YAML.load(File.open("#{File.dirname(__FILE__) }/config/devpay.yml"))

dev_config = devpay_config['development']
test_config = devpay_config['testing']
prod_config = devpay_config['production']

  def create_domain(domain_name)
   
        $sdb.create_domain(domain_name)
        
        
   end
  
   [
   'Node',
    'Mediaitem',
    'Mediafile',
    'Place',
    'Group'
    
  ].each do |model_name|
    #create_domain(dev_config['domain_name']+"_"+model_name)
    create_domain(test_config['domain_name']+"_"+model_name)
   # create_domain(prod_config['domain_name']+"_"+model_name)
  end
  
#  create_domain(dev_config['domain_name']+"_Image")
#   create_domain(dev_config['domain_name']+"_User")
#   create_domain(dev_config['domain_name']+"_ImageFile")
#    
#  
#  create_domain(prod_config['domain_name']+"_Image")
#   create_domain(prod_config['domain_name']+"_User")
#   create_domain(prod_config['domain_name']+"_ImageFile")
    
  

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cloudwow-not_relational-0.1.0 test/utils/create_sdb_domains.rb
cloudwow-not_relational-0.1.11 test/utils/create_sdb_domains.rb
cloudwow-not_relational-0.1.2 test/utils/create_sdb_domains.rb
cloudwow-not_relational-0.1.3 test/utils/create_sdb_domains.rb
cloudwow-not_relational-0.1.5 test/utils/create_sdb_domains.rb
cloudwow-not_relational-0.1.6 test/utils/create_sdb_domains.rb
cloudwow-not_relational-0.1.7 test/utils/create_sdb_domains.rb
cloudwow-not_relational-0.1.8 test/utils/create_sdb_domains.rb
cloudwow-not_relational-0.1.9 test/utils/create_sdb_domains.rb