###Vagrant Setup
-
Install Virtual Box and Vagrant
-
Download and add vagrant box
vagrant box add precise64 http://files.vagrantup.com/precise64.box
-
Start your virtual machine
vagrant up
-
Access the vagrant box
vagrant ssh
-
Go to code
cd vagrant
- Run the seed
rake db:seed
- Fetch the feeds
ruby app/jobs/clock.rb
# Make sure you export all necessary environment variables listed below
- Run the App
rackup
For your twitter feeds to work you need to have these environemnt variables set in the shell you wil try to fetch items
export TWITTER_CUSTOMER_KEY='xxxxxxxxx'
export TWITTER_CUSTOMER_SECRET='xxxxxxxxxxx'
export TWITTER_OAUTH_TOKEN='xxxxxxxxxxxxxxxxx'
export TWITTER_OAUTH_TOKEN_SECRET='xxxxxxxxxxxxxxxx'
You can get these keys from dev.twitter.com