Sha256: 71872d02b32da25b0648fec5beeb2fa540fb1191b7c74c62bc46ce6f23d1f3b6
Contents?: true
Size: 1.68 KB
Versions: 1
Compression:
Stored size: 1.68 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/' # If you want to save a different UserAgent if the request.user_agent is blank, set it here # config.blank_user_agent_string = 'blank' 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
landable-1.10.0.rc1 | lib/generators/templates/landable.rb |