Sha256: 98679208e481d8b13dd1201f23e6124e844c0ae7f91818fb96b95806acf56b17
Contents?: true
Size: 1.55 KB
Versions: 6
Compression:
Stored size: 1.55 KB
Contents
require 'landable' Landable.configure do |config| # Specify the hostname(s) of your Publicist instance config.cors.origins = %w(publicist.dev http://publicist.10.224.109.244.xip.io/) # Simple singleton user authenticator # config.authenticator = Landable::AuthenticationService::EchoAuthenticator.new('trogdor', 'trogdor') # Set up a custom database schema prefix (default: nil) # config.database_schema_prefix = Rails.application.class.parent_name.downcase # Add landable-ldap to your application's Gemfile to authenticate by LDAP: # config.authenticator = Landable::LDAP::Authenticator.new( # host: 'ldap.acme.corp', # port: 389, # ssl: 'start_tls', # base: 'ou=user,dc=acme,dc=corp', # ) # Categories to create (can also be given as a hash to provide descriptions, # e.g. {'SEO' => 'Search engine optimization', 'PPC' => 'Pay-per-click'}) config.categories = %w(Affiliates PPC SEO Social Email Traditional) # Uncomment to enable tracking of all requests. # Set to :html to track only HTML requests. # config.traffic_enabled = true # If you're using Landable with Publicist, add its url here. (required for screenshots) # config.publicist_url = 'http://publicist.dev/' # Where is your site deployed? (required for screenshots) # config.public_url = 'http://myapp.dev/' end # Configure asset uploads. Assets will be uploaded to public/uploads by default. # More configuration options: https://github.com/carrierwaveuploader/carrierwave CarrierWave.configure do |config| # config.asset_host = 'http://cdn.myapp.com' end
Version data entries
6 entries across 6 versions & 1 rubygems