Street Hoarding Write where everyone can see, or, a ruthlessly simple example of a proper Node.js program. See it in action: http://streethoarding.com maryrosecook http://maryrosecook.com maryrosecook@maryrosecook.com Requirements - Node.js 0.1.90 - Redis 1.3.8 - I have no idea whether this code will work with previous or future versions of Node.js and Redis. Probably not. Initial setup - Install Node.js - In your terminal git clone git://github.com/ry/node.git cd node ./configure make sudo make install - Install Redis - In your browser http://github.com/antirez/redis/tarball/v1.3.8 - In your terminal cd yourdownloadsdirectory tar xzvf the_name_of_the_redis_file_you_just_downloaded.tar.gz cd the_name_of_the_redis_file_you_just_downloaded make sudo mv redis-server /usr/bin/ sudo mv redis-cli /usr/bin/ - Install Street Hoarding - In your terminal git clone git://github.com/maryrosecook/streethoarding - Run - In your terminal redis-server - In another terminal cd the_street_hoarding_directory node server.js - In your web browser http://localhost:3000 Thanks - Ryan Dahl For Node.js http://nodejs.org - Brian Hammond For the Node.js Redis client. http://github.com/fictorial/redis-node-client/ - James Coglan For the patient explanations of JavaScript and event-driven programming, and improvements to the code. http://jcoglan.com
maryrosecook/streethoarding
Hoarding upon which you, and everyone else, can write, or, a ruthlessly simple example of a proper Node.js program.
JavaScript