Sha256: f53b44ae45bbfd4fe36d3a6fcd0c6c99c665279ff1627c81286acd5baca8e172

Contents?: true

Size: 213 Bytes

Versions: 10

Compression:

Stored size: 213 Bytes

Contents

require 'carte/server'
require 'json'

class Carte::Server
  configure do
    Mongoid.load! './mongoid.yml'
    config = JSON.parse File.read('config.json')
    set :carte, config
  end
end

run Carte::Server.new

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
carte-server-0.0.14 config.ru
carte-server-0.0.13 config.ru
carte-server-0.0.12 config.ru
carte-server-0.0.11 config.ru
carte-server-0.0.10 config.ru
carte-server-0.0.9 config.ru
carte-server-0.0.8 config.ru
carte-server-0.0.7 config.ru
carte-server-0.0.6 config.ru
carte-server-0.0.5 config.ru