Video of all steps at a high level
Step 1: Setup Raspberry Pi with Rasbian
If you have not used a raspberry pi before please see the Raspberry Pi website: http://www.raspberrypi.org/help/quick-start-guide/
If you have your raspberry pi up and running with Rasbian skip this step.
Step 2: Setup NodeJS on your Raspberry Pi
WeWorkWePlay has a great tutorial for this:
Step 3: Setup WiFi on Raspberry Pi startup
If you want to use wifi, then you will need to setup your raspberry pi to connect automatically when it starts up.
You will need to edit /etc/network/interface to include the name and password for your wireless network.
Step 4: Setup the candy-bot code
Download or Fork it from GitHub: https://github.com/davidrs/candy-pi
Save it to your Raspberry Pi: /home/pi/candy-pi
Create a developer account for the Twitter API: https://apps.twitter.com/
On the Twitter App site add a new app and generate an API key.
Update the config.js with your Twitter API key.
Test locally: `npm index`
Setup your Raspberry Pi to run the code on startup. (see tutorial in step 2 for details)