プロジェクトの実行

出来上がったアプリケーションを動かすにはサーバを立ち上げ、クライアントからアプリケーションを起動する必要があります。

1.開発用WebサーバWEBrickの立ち上げ
NetBeansで[実行]を選択します。
    

実行結果

=> Booting WEBrick...
=> Rails 2.2.2 application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2009-06-26 10:55:31] INFO WEBrick 1.3.1
[2009-06-26 10:55:31] INFO ruby 1.8.7 (2008-08-11) [i386-mswin32]
[2009-06-26 10:55:32] INFO WEBrick::HTTPServer#start: pid=5496 port=3000

2.サーバ用のブラウザにトップページの表示
    

3.プロジェクトの起動
クライアントのブラウザからhttp://127.0.0.1:3000/appli/を入力します。
アプリケーションが動いてindex.html.erbの内容が表示されます。