Sha256: 2a5dfc071a09bf15ff1a3ac0cfc7336b47dbe02a99cc3e8e0ed694439b82b9df

Contents?: true

Size: 1014 Bytes

Versions: 11

Compression:

Stored size: 1014 Bytes

Contents

# Arango DB
if ENV['ARANGO_USER'] && ENV['ARANGO_PASSWORD']
  Isomorfeus.arango_production =  { username: ENV['ARANGO_USER'], password: ENV['ARANGO_PASSWORD'],
                                    host: "localhost", port: "8529",
                                    database: "<%= app_class %>Production" }

  Isomorfeus.arango_development = { username: ENV['ARANGO_USER'], password: ENV['ARANGO_PASSWORD'],
                                    host: "localhost", port: "8529",
                                    database: "<%= app_class %>Development" }

  Isomorfeus.arango_test =        { username: ENV['ARANGO_USER'], password: ENV['ARANGO_PASSWORD'],
                                    host: "localhost", port: "8529",
                                    database: "<%= app_class %>Test" }
end

# create database, if possible
# initialize Isomorfeus collections
# create housekeeping tasks
# keep it, it will take care of updates to the Isomorfeus collections when required
Isomorfeus.prepare_arango_database

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
isomorfeus-1.0.0.zeta25 lib/isomorfeus/installer/templates/arango_config.rb.erb
isomorfeus-1.0.0.zeta24 lib/isomorfeus/installer/templates/arango_config.rb.erb
isomorfeus-1.0.0.zeta23 lib/isomorfeus/installer/templates/arango_config.rb.erb
isomorfeus-1.0.0.zeta22 lib/isomorfeus/installer/templates/arango_config.rb.erb
isomorfeus-1.0.0.zeta21 lib/isomorfeus/installer/templates/arango_config.rb.erb
isomorfeus-1.0.0.zeta20 lib/isomorfeus/installer/templates/arango_config.rb.erb
isomorfeus-1.0.0.zeta19 lib/isomorfeus/installer/templates/arango_config.rb.erb
isomorfeus-1.0.0.zeta18 lib/isomorfeus/installer/templates/arango_config.rb.erb
isomorfeus-1.0.0.zeta17 lib/isomorfeus/installer/templates/arango_config.rb.erb
isomorfeus-1.0.0.zeta16 lib/isomorfeus/installer/templates/arango_config.rb.erb
isomorfeus-1.0.0.zeta15 lib/isomorfeus/installer/templates/arango_config.rb.erb