Difference between revisions of "ECE497 Notes on node.js"

From eLinux.org
Jump to: navigation, search
m
m (Cloud9: Removed)
 
Line 48: Line 48:
 
* [http://mustafaakin.wordpress.com/2012/04/28/wsftp-file-transfer-over-websockets/ WSFTP: File Transfer over Websockets]
 
* [http://mustafaakin.wordpress.com/2012/04/28/wsftp-file-transfer-over-websockets/ WSFTP: File Transfer over Websockets]
 
* [http://www.chrissharkey.com/programming-blog/2012/03/12/making-an-hilarious-irc-bot-in-node-js MAKING AN HILARIOUS IRC BOT IN COFFEESCRIPT USING NODE.JS]
 
* [http://www.chrissharkey.com/programming-blog/2012/03/12/making-an-hilarious-irc-bot-in-node-js MAKING AN HILARIOUS IRC BOT IN COFFEESCRIPT USING NODE.JS]
 
== Cloud9 ==
 
 
Somehow [http://cloud9ide.com/yoder Cloud9] fits in with this.
 
 
I'm trying to get cloud9 running on the Beagle.
 
 
beagle$ '''opkg update'''
 
beagle$ '''opkg install nodejs''' (1min 6 sec)
 
beagle$ '''opkg install nodejs-dev''' (I don't know if this is needed.)
 
 
Something from Jason
 
 
beagle$ '''opkg install bonescript'''
 
beagle$ '''opkg install cloud9'''
 
 
Here’s how to get npm according to http://npmjs.org/
 
 
beagle$ '''opkg install curl''' (1m23)
 
beagle$ '''opkg install nodejs''' (1m6)
 
beagle$ '''curl http://npmjs.org/install.sh | sh''' (1m5)
 
 
It's said [https://groups.google.com/forum/#!topic/beagleboard/uGp90z-BJkc this] will work on a current distribution of Angstrom, but it doesn't work for me.
 
beagle$ '''opkg install cloud9'''
 
 
=== non-Beagle ===
 
 
Here are instructions for a non-Beagle install from [https://groups.google.com/forum/#!starred/cloud9-ide/L4DSGZS4KmM here].
 
 
host$ '''git clone git://github.com/ajaxorg/cloud9.git'''  (16 seconds)
 
host$ '''cd cloud9'''
 
host$ '''bin/cloud9.sh'''
 
 
then
 
host$ '''node ./bin/cloud9.js'''
 
  
 
== gitting examples ==
 
== gitting examples ==

Latest revision as of 17:05, 14 October 2013

thumb‎ Embedded Linux Class by Mark A. Yoder


I'm working up and example on node.js. Here are some notes.

Installing

Beagle

beagle$ opkg update
beagle$ opkg install nodejs

Links

Socket.io looks like a good way to pass data to the browser.

Examples

gitting examples

git clone git://gitorious.org/~Jadon/beagleboard-validation/jadons-education.git (10s)




thumb‎ Embedded Linux Class by Mark A. Yoder