Difference between revisions of "RPi Software Development"

From SingletonMillerWiki
Jump to: navigation, search
m (node.js: note that instructions are tested on VM)
m (Giving credit for node package setup)
Line 22: Line 22:
 
[http://howtonode.org/how-to-install-nodejs http://howtonode.org/how-to-install-nodejs] is a good page describing how to set up node.
 
[http://howtonode.org/how-to-install-nodejs http://howtonode.org/how-to-install-nodejs] is a good page describing how to set up node.
  
I used the following to configure my VM:
+
I used the following to configure my VM, copied from [https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager]:
 
  sudo apt-get install python-software-properties
 
  sudo apt-get install python-software-properties
 
  sudo add-apt-repository ppa:chris-lea/node.js
 
  sudo add-apt-repository ppa:chris-lea/node.js

Revision as of 06:08, 12 August 2012


Introduction

This describes to get set up with a software development environment.

Downloads

Boot

After downloading the VM the readme recommends tweaking "the networking (change NAT to Bridged), shared folders & USB" settings Booting the VM should auto login to the raspberrypi user account and look like the following:

RPiVmFirstView.jpg

Development Environment

node.js

Node seems like a good candidate for handling event drive commands from local, network machines, or the web.

http://howtonode.org/how-to-install-nodejs is a good page describing how to set up node.

I used the following to configure my VM, copied from [1]:

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs npm

Reading: