Sha256: d37a23ab2bf396746e98f753864c421738b2c031104cfd65737db634a1346b6e

Contents?: true

Size: 471 Bytes

Versions: 2

Compression:

Stored size: 471 Bytes

Contents

require 'rubygems'
require 'firefly'

disable :run

app = Firefly::Server.new do
  set :hostname,    "localhost:3000"
  set :api_key,     "test"

  # Use Sqlite3 by default
  set :database,    "sqlite3://#{Dir.pwd}/firefly.sqlite3"

  # Set number of recent urls to show
  set :recent_urls, 10

  # You can use MySQL as well. 
  # Make sure to install the do_mysql gem:
  #    sudo gem install do_mysql
  # set :database,    "mysql://root@localhost/firefly"
end

run app

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
firefly-1.3.1 config.ru.example
firefly-1.3.0 config.ru.example