Difference between revisions of "WebFund 2013W: Tasks 1"

From Soma-notes
Jump to navigation Jump to search
Line 8: Line 8:
* Download and run/install a copy of node.js.  A local copy of the standalone 32-bit windows executable [http://homeostasis.scs.carleton.ca/~soma/webfund-2013w/node.exe here].  Other versions are [http://nodejs.org/download/ here].
* Download and run/install a copy of node.js.  A local copy of the standalone 32-bit windows executable [http://homeostasis.scs.carleton.ca/~soma/webfund-2013w/node.exe here].  Other versions are [http://nodejs.org/download/ here].
* Run the node.js hello world program as shown in the "Basic HTTP server" in the [http://www.nodebeginner.org/#a-basic-http-server Node Beginner Book].
* Run the node.js hello world program as shown in the "Basic HTTP server" in the [http://www.nodebeginner.org/#a-basic-http-server Node Beginner Book].
==Hints==
* If you just run the node.exe executable by double-clicking on it, you'll get a ">" prompt.  This is the node read/eval/print loop.  Meaning, you type in JavaScript to it.
* If you want to run a file with javascript in it in node, start up a command prompt, cd to the directory containing node.exe and your file foo.js, and then run "node foo.js".

Revision as of 16:08, 11 January 2013

Your first set of tasks are the following:

  • Setup an account on Piazza.
  • Setup an account on github.
  • Validate your student email with github to get a free student account: https://github.com/edu
  • Setup an account on the class wiki (optional).
  • Tell the TA your current ideas on your term project and who you would like to work with.
  • If you do not have a partner, post a blurb on Piazza to help find one, or reply to an existing solicitation.
  • Download and run/install a copy of node.js. A local copy of the standalone 32-bit windows executable here. Other versions are here.
  • Run the node.js hello world program as shown in the "Basic HTTP server" in the Node Beginner Book.

Hints

  • If you just run the node.exe executable by double-clicking on it, you'll get a ">" prompt. This is the node read/eval/print loop. Meaning, you type in JavaScript to it.
  • If you want to run a file with javascript in it in node, start up a command prompt, cd to the directory containing node.exe and your file foo.js, and then run "node foo.js".