A deprecated website of riddles
JavaScript CoffeeScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app/js/vendor
assets
conf/upstart
lib
src
.gitignore
.gitmodules
Makefile
README.md
fabfile.py
package.json
watchmake.js

README.md

r

A website of riddles. This code base has been deprecated in favor of the new ruby based site, monkeypuzzles.

Clone and code

Clone the repository from github and initialize all submodules:

git clone --recursive git@github.com:tgwizard/r.git

If you forget the --recursive flag, you can do:

git submodule init
git submodule update

Install node.js and npm:

sudo apt-get install nodejs npm

(on Debian/Ubuntu).

Install global dependencies (coffee-script, recess, uglify-js):

make install_global_deps

Install local dependencies, and make symbolic links (to some dependencies included in the repository):

make install_deps

Build everything, and start the server:

make start_server

(Stop it with Ctrl-C).

Later, to update to the latest version:

git pull
git submodule update

Known to work on Ubuntu 12.04.

The site is built mainly on node, coffee-script, express, and coffeefilter. Reading the documentation for those should help to better understand the code here.