Sha256: 875a0d23610cb45db10d5f94830f7270ad54d47f0e42801415fd910b79dd9761

Contents?: true

Size: 1.51 KB

Versions: 7

Compression:

Stored size: 1.51 KB

Contents

= trinidad

Trinidad allows you to run a rails application within an embedded Apache Tomcat container.

This project was initially called "Tomcat-rails" but due to legal issues with the ASF and the Tomcat trademark it has been renamed.

== INSTALL:

  jgem install trinidad
  jgem install calavera-trinidad -s http://gems.github.com

== USAGE:

  cd myrailsapp
  jruby -S trinidad
  
== CONFIGURATION:

Trinidad allows you to configure some parameters when the server is started from the command line, the following is a list of the currently supported options:

  * -p, --port PORT         =>    port to bind to.
  * -e, --env ENVIRONMENT   =>    rails environment.
  * -c, --context CONTEXT   =>    application context path.
  * --lib, --jars LIBS_DIR  =>    directory containing jars.
  * --classes CLASSES_DIR   =>    directory containing classes.

The server can also be configured from a yaml file. If a file is not especified, the server tries to load the file <em>config/tomcat.yml</em>. Within this file you can add other options like jruby.min.runtimes(:jruby_min_runtimes) or jruby.max.runtimes(:jruby_max_runtimes).

  jruby -S trinidad -f
  jruby -S trinidad --config my_custom_configuration.yml

You can also specify a default web.xml to config your web application. By default the server tries to load the file <em>config/web.xml</em> but you can modify this path adding the option <em>default_web_xml</em> within your configuration file. 

== Copyright

Copyright (c) 2009 David Calavera<calavera@apache.org>. See LICENSE for details.

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
calavera-trinidad-0.3.0 README.rdoc
calavera-trinidad-0.4.0 README.rdoc
calavera-trinidad-0.4.1 README.rdoc
trinidad-0.5.0 README.rdoc
trinidad-0.3.0 README.rdoc
trinidad-0.4.0 README.rdoc
trinidad-0.4.1 README.rdoc