Sha256: f23e152f86f5aa743d895c8db83729ca63643ff7ee23733d69799604c0e25116

Contents?: true

Size: 387 Bytes

Versions: 9

Compression:

Stored size: 387 Bytes

Contents

require 'rubygems'
require 'bundler/setup'
require 'tmin'
disable :run

app = Firefly::Server.new do
  # The domain you use for shortening.
  set :hostname,    "localhost:3000"

  # Used for authenticating you.
  set :api_key,     "oklahoma"

  # Use Sqlite3 by default
  set :database,    "sqlite3://#{Dir.pwd}/firefly.sqlite3"
  # Defaults to 25
  # set :recent_urls, 10
end

run app

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
tmin-0.1.2 config.ru.example
tmin-0.1.1 config.ru.example
tmin-0.1.0 config.ru.example
tmin-0.0.9 config.ru.example
tmin-0.0.8 config.ru.example
tmin-0.0.7 config.ru.example
tmin-0.0.6 config.ru.example
tmin-0.0.5 config.ru.example
tmin-0.0.4 config.ru.example