Sha256: de51f1079f747b3460b73c04a9f2e458f59c1c55b7ebbf98fb15bc9333a1ce23

Contents?: true

Size: 540 Bytes

Versions: 7

Compression:

Stored size: 540 Bytes

Contents

module AlephExecutables
  class SetupDemo
    HOST             = 'aleph-public.cdiwpivlvfxt.us-east-1.rds.amazonaws.com'.freeze
    DB               = 'aleph_public'.freeze
    PORT             = '5432'.freeze
    USER             = 'read_only'.freeze
    PASSWORD         = '@lephR3@d0nlee'.freeze

    def initialize(options)
      @options = options
    end

    def execute!
      options = @options.select{ |k,v| k == :config_path}.merge(seed_db: true)
      Playground.setup(HOST, DB, PORT, USER, PASSWORD, options)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
aleph_analytics-0.3.0 bin/executables/setup_demo.rb
aleph_analytics-0.2.0 bin/executables/setup_demo.rb
aleph_analytics-0.1.0 bin/executables/setup_demo.rb
aleph_analytics-0.0.6 bin/executables/setup_demo.rb
aleph_analytics-0.0.5 bin/executables/setup_demo.rb
aleph_analytics-0.0.4 bin/executables/setup_demo.rb
aleph_analytics-0.0.3 bin/executables/setup_demo.rb