Skip to content

Latest commit

 

History

History

fetchBot

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

fetchBot

Bot

  • refreshing the DB at least once per day,
  • processing profile requests from the AWS SQS.
  • publishing the data to production, and
  • backing up the data.

Errors will be sent to Sentry via raven-bash.

Table of Contents

Install and set up dependencies

Install raven-bash

$ sudo pip install raven-bash==1.0

Create /etc/raven-bash.conf

See raven-bash's documentation.

Set up AWS CLI

See here.

Install other dependencies

$ sudo apt-get update
$ sudo apt-get install jq

Run the bot

$ ./bot.sh

NOTE: in production we currently run this bot on an EC2 instance.