Installation

This documents explains to you on how to install MoSN.

Requirements

Get MoSN ready

  1. Get MoSN (Ruby on Rails) project from Downloads .
  2. Get into the project root directory.
  3. Create necessary directories by the following commands.

    1. mkdir log
      mkdir -p tmp/sessions
  4. Run "rake rails:freeze:edge TAG=rel_2-0-0_PR" to use Rails 2 for MoSN.
  5. Make sure you have ruby-openid gem. If not, do "gem install ruby-openid". (ruby-yadis gem is required as well)

Edit hosts

In case you run and test MoSN on your PC, you need to hack hosts configuration in order to make your PC access localhost for mosn.playmaru.net. This would be done by adding the following line to /etc/hosts (Unix) or \Windows\system32\drivers\etc\hosts file.

  1. 127.0.0.1 mosn.playmaru.net

Note that you have to turn off this hack when you test MoSN on th real production server.

Test

The simplest way to start up MoSN is to use WEBrick by

  1. script/server

Open http://mosn.playmaru.net:3000 with your browser.