Last active
August 29, 2015 14:03
-
-
Save timfpark/10d374a11a02565b1adf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### On your computer | |
# 1. Join "MongoDB" | |
# 2. Trick gyp into installing the header files | |
npm install node-gyp -g | |
node-gyp install 0.10.29 | |
cd ~/.node-gyp | |
tar -czxf 0.10.29.tgz 0.10.29/ | |
scp 0.10.29.tgz pi@$IP_ADDRESS:0.10.29.tgz | |
### On the pi | |
ssh pi@$IP_ADDRESS | |
pwd # /home/pi | |
mkdir .node-gyp | |
cd .node-gyp | |
rm -rf 0.10.29 | |
mv ../0.10.29.tgz . | |
tar -zxvf 0.10.29 | |
### Assuming that you're logical | |
cd ~/training-iot/materials/1-BMP085 | |
npm config set loglevel info | |
npm config set spin false | |
npm cache clean | |
npm install | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Should be: