Path: | doc/README_FOR_APP |
Last Update: | Mon Oct 19 13:41:58 +0200 2009 |
OWLlink on Rails Demonstrator (www.owllink.org)
Copyright (C) 2009 by Marko Luther
# rails -v
Rails 2.3.4
# sudo gem update --system # sudo gem update rails # sudo gem update rake # sudo gem update sqlite3-ruby
# tar xzf WebAnt.tar.gz # cd WebAnt
e.g. for RacerPro
# RacerPro -- -protocol owllink1
# script/server
Once WEBrick has started, point your browser to localhost:3000. You should now see the WebAnt start page.
To initialize WebAnt (ie., clear all sessions and reset the DB) run
# script/reset
lib/owllink.rb
OWLlink module that provides utility functions to generate OWLlink messages and an abstraction to the session based server class
lib/situation-owllink.xml
The OWL axioms send on "Initialize" within a OWLlink Tell statement assuming
app/views/layout/application.html.erb
The main application layout template
app/controllers/owllink_controller.rb
Main controller that handles the UI actions
app/controllers/situations_controller.rb
Controller that handles the "type" action within the Situations view