Difference between revisions of "RPi Software Development"

From SingletonMillerWiki
Jump to: navigation, search
m (Set category)
m (Remove space from brand name)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:RaspberryTortoise]]
+
[[Category:Software]]
 +
 
 +
== Introduction ==
 +
This describes to get set up with a software development environment.
  
 
== Downloads ==
 
== Downloads ==
Line 5: Line 8:
 
* VirtualBox Extensions (required for USB 2.0 support) from the same place
 
* VirtualBox Extensions (required for USB 2.0 support) from the same place
 
* VirtualBox VM from [http://http://www.element14.com/community/groups/raspberry-pi#downloadcenter the download centre]
 
* VirtualBox VM from [http://http://www.element14.com/community/groups/raspberry-pi#downloadcenter the download centre]
** notes on this can be found in its readme which is also online [http://downloads.raspberrypi.org/tools/ukscone/RaspberryPi-Development%20VM%20v0.8/README.txt here].
+
** notes on this can be found in its readme which is also online [http://downloads.raspberrypi.org/tools/ukscone/RaspberryPi-Development%20VM%20v0.8/README.txt  
  
 
== Boot ==
 
== Boot ==
Line 12: Line 15:
  
 
[[File:RPiVmFirstView.jpg|100px]]
 
[[File:RPiVmFirstView.jpg|100px]]
 +
 +
== 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 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 [https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager]:
 +
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:
 +
* [http://blog.tomg.co/post/21322413373/how-to-install-node-js-on-your-raspberry-pi http://blog.tomg.co/post/21322413373/how-to-install-node-js-on-your-raspberry-pi]
 +
* [https://github.com/gflarity/node_pi https://github.com/gflarity/node_pi]
 +
* [http://elsmorian.com/post/23474168753/node-js-on-raspberry-pi http://elsmorian.com/post/23474168753/node-js-on-raspberry-pi]
 +
* [http://www.raspberrypi.org/phpBB3//viewtopic.php?f=34&t=9929 http://www.raspberrypi.org/phpBB3//viewtopic.php?f=34&t=9929]
 +
 +
== Software ==
 +
* [[RaspberryTortoise Web Server]]

Latest revision as of 10:41, 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:

Software