WebFund 2013W: Tasks 1: Difference between revisions
No edit summary |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Your first set of tasks are the following: | Your first set of tasks are the following: | ||
* Setup an account on [https://github.com/ github]. | * Setup an account on [https://github.com/ github]. | ||
* Validate your student email with github to get a free student account: https://github.com/edu | * Validate your student email with github to get a free student account: https://github.com/edu | ||
* Setup an account on the class wiki (optional). | * 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. | * 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 [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]. | ||
You should get checked off on these tasks by a TA in tutorial. | |||
==Hints== | ==Hints== |
Latest revision as of 21:47, 12 March 2013
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.