Sha256: 4c1355e4a66718c6a303c3b0bf650886471f6ee83bd2b8594b45763664063415
Contents?: true
Size: 501 Bytes
Versions: 15
Compression:
Stored size: 501 Bytes
Contents
require 'fileutils' require 'logger' require 'sequel' require 'pact_broker' FileUtils.mkdir_p "pids" FileUtils.touch "pids/#{Process.pid}" DATABASE_CREDENTIALS = {adapter: "sqlite", database: "pact_broker_database.sqlite3", :encoding => 'utf8'} app = PactBroker::App.new do | config | config.database_connection = Sequel.connect(DATABASE_CREDENTIALS.merge(:logger => config.logger)) config.auto_migrate_db = true end PactBroker.logger.info "Running PactBroker #{PactBroker::VERSION}" run app
Version data entries
15 entries across 15 versions & 1 rubygems