Skip to content

Configurations table

Daniel Weinmann edited this page Sep 21, 2013 · 16 revisions

These are the currently used variables in the configurations table

Database

  • timezone: full PostgreSQL timezone name, as in 'America/Sao_Paulo'

Platform

  • company_name: the name of the platform's company. It will sign all system emails and be used all over to reference the platform
  • email_contact: your contact email address. It will be displayed for people to contact you
  • email_system: your system email address. It will send all system emails
  • email_payments: your payment email address. It will receive refund requests and other payment related emails
  • email_projects: your projects email address. It will receive project related emails
  • email_no_reply: a no-reply email address. '[email protected]' is an example. I don't think this is used, but it is on seeds.rb, so I did document it.
  • catarse_fee: the fee that goes to you the platform, in float. 13% would be stored as '0.13'
  • base_domain: the hostname of your platform, without protocol. 'catarse.me' is an example
  • base_url: the domain of your platform, with protocol. 'http://catarse.me' is an example
  • host: the hostname of your platform. This will be used only for Rails's default_url_options on production environment (why not use base_domain I don't know :D)
  • secure_review_host: your host for SSL connections. 'secure.catarse.me' is an example
  • blog_url: your blog URL. It will be used both for showing a link to your blog and for fetching posts via RSS2

Twitter

  • twitter_username: your Twitter username, without @. 'catarse' is an example

Facebook

  • facebook_app_id: your app_id on Facebook. It will be used for fb metatags
  • facebook_url: your Facebook page URL. It will be used for like box

UserVoice

  • uservoice_subdomain: your UserVoice subdomain
  • uservoice_key: your UserVoice key, used for the widget
  • uservoice_sso_key: your UserVoice SSO key
  • uservoice_secret_gadget: your UserVoice secret for displaying gadget (??)
  • support_forum: Your full UserVoice forum URL (or any other URL for support)

Mailchimp

  • mailchimp_api_key: your Mailchimp API key
  • mailchimp_url: your Mailchimp URL for newsletter subscribe form. It has to be the full URL for a Mailchimp form integration
  • mailchimp_list_id: your Mailchimp list_id to sync newsletter subscribers
  • mailchimp_successful_projects_list: your Mailchimp list_id to sync subscribers to successful projects emails
  • mailchimp_failed_projects_list: your Mailchimp list_id to sync subscribers to failed projects emails

Amazon AWS

  • aws_access_key: your AWS access key, for upload's storage
  • aws_secret_key: your AWS secrete key
  • aws_bucket: your AWS bucket

Sendgrid

  • sendgrid_user_name: your Sendgrid SMTP username
  • sendgrid: your Sendgrid SMTP password

Google Analytics

  • google_analytics_id: your Google Analytics id

Mixpanel

  • mixpanel_token: your Mixpanel token

Google Calendar

  • google_api_key: your Google API key