Sha256: 331e3721ad800f9aca061b8542bd1209ccef16ffeecdc71dd2654b5936a74d35

Contents?: true

Size: 886 Bytes

Versions: 1

Compression:

Stored size: 886 Bytes

Contents

begin
  require 'copy'
rescue LoadError
  require 'rubygems'
  require 'copy'
end

Copy::Server.config do
  # Sets a Cache-Control header for the duration specified.
  # Heroku friendly: http://devcenter.heroku.com/articles/http-caching
  #
  set :cache_time, 300
  
  # If you're storing copy in a data store, you need a user and password
  # set to protect it. Uncomment these and enter the credentials you want
  # to use or set them as environment variables.
  # Heroku friendly: http://devcenter.heroku.com/articles/config-vars
  #
  # set :admin_username, ENV['COPY_USERNAME']
  # set :admin_password, ENV['COPY_PASSWORD']
  
  # Enter the URL to your data store.
  # "redis://", "mongodb://", "mysql://", "postgres://", and "sqlite://" are supported.
  # Heroku friendly: http://devcenter.heroku.com/articles/mongohq
  #
  # set :storage, ENV['MONGOHQ_URL']
end

run Copy::Server

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
copy-0.0.4 lib/copy/generators/site/config.ru