Skip to content
Christopher Brown edited this page Aug 16, 2013 · 1 revision

Some parts of Tweedr depend on environment variables to connect to remote resources. To ensure that your deployment is fully functioning, the user that will be running the different Tweedr applications / processes will need to load the following variables:

For boto:

export AWS_ACCESS_KEY_ID=AKAYOURACCESSKEY
export AWS_SECRET_ACCESS_KEY=nQ1UFZEMoVH5k02GefjuwxSpBY4AysJr6hIKaiC8

For MySQL RDS connectivity:

export MYSQL_HOST="qcri.abcdefghijkl.us-west-2.rds.amazonaws.com"
export MYSQL_USER="yourusername"
export MYSQL_PASS="andthepassword"
export MYSQL_DATABASE="finallythedatabasename"

For DBpedia Spotlight access:

export SPOTLIGHT="http://spotlight.sztaki.hu:2222"

You'll probably want to have these values available whenever you're working at the command line, in which case you will want to store them in your ~/.bashrc or other profile-type script that's executed when you open a new shell.

Clone this wiki locally