Skip to content

Environment Variables

Max C edited this page Jul 12, 2019 · 2 revisions

Environment Variables (and what they all do!)

{
  "setup": {
    "_comment": "Secret api keys.",
    "AWS_access_key": "", // AWS Access Key (see AWS IAM console for key)
    "AWS_secret_key": "", // AWS Secret Key (see AWS IAM console for key)
    "AWS_S3_bucket": "", // AWS S3 Bucket used for storing resumes
    "mailchimp_api_key": "", // Mailchimp API key used for maintaining subscription lists
    "cookie_secret": "", // random string used to salt cookie
    "sendgrid_api_key": "", // Sendgrid API key used for sending system emails
    "url": "", // BRH website url
    "ical": "", // .ical link to the BRH events Google Calendar
    "use_redis": false,
    "redis_pass": ""
  },
  "mailchimp": {
    "_comment": "Mailchimp list ids",
    "l_interested": "", // Mailchimp List ID of the BRH interested subscription list
    "l_applicants": "", // Mailchimp List ID of the BRH applicant subscription list
    "l_external_rsvpd": "", // Segment name for external attendees, part of BRH applicant list
    "l_cornell_accepted": "", // Segment name for accepted Cornell students, part of BRH applicant list
    "l_cornell_waitlisted": "", // Segment name for waitlisted Cornell students, same list
    "l_cornell_applicants": "" // Segment name for Cornell applicants, same list
  },
  "admin": {
    "email": "info@bigredhacks.com", // admin email
    "reg_open": true, // allows users to register for accounts on BRH
    "cornell_reg_open": false, // allows Cornell students to register for accounts on BRH
    "cornell_auto_accept": 150, // TBD
    "results_released": false, // TBD
    "dayof": false, // Indicates whether the event is happening now, used for checkin
    "days_to_rsvp": 14, // How many days each person gets to RSVP
    "default_reimbursement": 150 // default reimbursement amount
  },
  "sendgrid": {
    "_comment": "Sendgrid template ids",
    "sg_general": "" // Template ID for Sendgrid
  },
  "twitter": {
    "tw_consumer_key": "", // Twitter API Keys
    "tw_consumer_secret": "",
    "tw_access_token": "",
    "tw_token_secret": ""
  },
  "slack": {
    "webhook_url": "" // Slack webhook URL, used to post messages to some channel
  },
  "yearly": {
    "facebook": "" // BRH facebook group link, when blank defaults to BRH facebook page
  }
}

Clone this wiki locally