[BioRuby-cvs] bioruby/lib/bio/shell/rails/script about, NONE, 1.1 breakpointer, NONE, 1.1 console, NONE, 1.1 destroy, NONE, 1.1 generate, NONE, 1.1 plugin, NONE, 1.1 runner, NONE, 1.1 server, NONE, 1.1

Katayama Toshiaki k at pub.open-bio.org
Mon Feb 27 11:16:25 UTC 2006


Update of /home/repository/bioruby/bioruby/lib/bio/shell/rails/script
In directory pub.open-bio.org:/tmp/cvs-serv2240/script

Added Files:
	about breakpointer console destroy generate plugin runner 
	server 
Log Message:
* BioRuby shell on Rails kit
* main original files are - app/controllers/shell_controller.rb,
  app/models/shell_connection.rb, app/views/layouts/shell.rhtml,
  app/views/shell/show.rhtml, (app/views/shell/history.rhtml),
  (config/database.yml), public/images/icon.png, public/stylesheets/main.css,
  script/server


--- NEW FILE: breakpointer ---
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/breakpointer'
--- NEW FILE: about ---
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/about'
--- NEW FILE: console ---
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/console'
--- NEW FILE: plugin ---
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/plugin'
--- NEW FILE: runner ---
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/runner'
--- NEW FILE: destroy ---
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/destroy'
--- NEW FILE: generate ---
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/generate'
--- NEW FILE: server ---
#!/usr/bin/env ruby
#
# = BioRuby shell on Rails server - GUI for the BioRuby shell
#
# Copyright::   Copyright (C) 2006
#               Nobuya Tanaka <t at chemruby.org>,
#               Toshiaki Katayama <k at bioruby.org>
# License::     Ruby's
#
# $Id: server,v 1.1 2006/02/27 11:16:23 k Exp $
#

require 'bio/shell'
require 'drb/drb'

require './app/models/shell_connection'
$drb_server = ShellConnection.new

## Access Control List
#
# require 'drb/acl'
#
# list = %w(deny all
#           allow 127.0.0.1
#          )
# acl = ACL.new(list, ACL::DENY_ALLOW)
# DRb.install_acl(acl)
#

STDOUT.sync = true

#uri = "druby://localhost:0"
uri = 'druby://localhost:81064' # baioroji-
DRb.start_service(uri, $drb_server)
puts DRb.uri

puts "starting ..."

require './config/boot'
require 'commands/server'

puts "exiting ..."




More information about the bioruby-cvs mailing list