A website of puzzles. The site can be seen live at monkeypuzzles.org.
Setup and Coding
sqlite3 is used for development, and bindings for it can be installed like this (according to the DataMapper startup guide):
# Debian / Ubuntu sudo apt-get install libsqlite3-dev # RedHat / Fedora sudo yum install sqlite-devel # MacPorts sudo port install sqlite3 # HomeBrew sudo brew install sqlite
git clone email@example.com:tgwizard/monkeypuzzles.git cd monkeypuzzles # install bundler if not already installed gem install bundler # install development dependencies from the Gemfile bundle install --without production # run migrations padrino rake ar:migrate # start the dev server, after each change padrino s # go to http://localhost:3000
monkeypuzzles.org/status gives some overview of the system status - including database content.
When logging in, mockmyid.com is a good way to get a fake email (although it doesn't seem to work most of the time).
git pull --rebase # check that everything is ok git push && git push heroku master heroku run rake ar:migrate # done!