WebFund 2013W: Tasks 1

From Soma-notes
Jump to navigation Jump to search

Your first set of tasks are the following:

  • 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.
  • 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.

You should get checked off on these tasks by a TA in tutorial.

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".
  • In the lab or elsewhere, if you get a firewall prompt, that is normal - node is trying to listen on a port. That's exactly what firewalls are supposed to block. Allow access. Note that if you check any boxes you'll need to enter an admin password. If you just allow access it should work.