On The Islands
Installation
-
Get latest Ruby 1.9. For example, on Ubuntu 10.10:
apt-get install ruby-1.9.1 ruby1.9.1-dev
-
Install Bundler gem:
sudo gem1.9.1 install bundler
-
Install MongoDB (see http://mongodb.org/downloads). For example, on Ubuntu 10.10:
sudo apt-add-repository 'deb http://downloads.mongodb.org/distros/ubuntu 10.10 10gen' sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 sudo apt-get update sudo apt-get install mongodb-stable
-
Install node.js. For example, on Ubuntu 10.10:
sudo apt-add-repository ppa:chris-lea/node.js sudo apt-get update sudo apt-get install nodejs
-
Install all dependency gems:
bundle install
-
Create Mongoid config:
bundle exec rails generate mongoid:config
-
Start game web server:
bundle exec rails server
-
Open http://localhost:3000 in browser.