Installation
This documents explains to you on how to install MoSN.
Requirements
- Ruby 1.8.6 or later
- Rails 2 or later
Get MoSN ready
- Get MoSN (Ruby on Rails) project from Downloads .
- Get into the project root directory.
-
Create necessary directories by the following commands.
-
mkdir log
mkdir -p tmp/sessions
-
Run "rake rails:freeze:edge TAG=rel_2-0-0_PR" to use Rails 2 for MoSN.- 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.
- 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
- script/server
Open http://mosn.playmaru.net:3000 with your browser.