Raspberry Pi BBQ meter
- Start with latest Raspian image from http://downloads.raspberrypi.org/raspbian_latest
- login to Pi with Putty or other
- run 'sudo raspi-config'
- set locale and timezone under internationalisation options
- enable SPI and I2C under Advanced Options
- expand filesystem
- Enable I2C by adding the following two lines to /etc/modules
- i2c-bcm2708
- i2c-dev
- Install nodejs:
- wget http://nodejs.org/dist/v0.10.28/node-v0.10.28-linux-arm-pi.tar.gz
- tar -xvzf node-v0.10.28-linux-arm-pi.tar.gz
- create symbolic links to node and npm
- sudo ln -s /home/pi/node-v0.10.28-linux-arm-pi/bin/node /usr/bin/node
- sudo ln -s /home/pi/node-v0.10.28-linux-arm-pi/bin/npm /usr/bin/npm
- (both node -v and npm -v should now show current version)
- Clone BBQPi into app directory
- git clone https://github.com/crjens/BBQPi.git app
- cd into the 'app' directory and type 'npm install'