Trinidad allows you to run any Rack based application within an embedded Apache Tomcat container.
Apache Tomcat is a lightweight java web server developed and released under the Apache Software Foundation.
installing
jgem install trinidadusage
cd myrailsapp jruby -S trinidadconfiguration
Trinidad accepts some configuration arguments from the command line, you can find the supported options in the readme page.
Further advanced options can also be found in the project's wiki.
extensions
Trinidad is modularized. You just need the core of the project to run any application but you can also find some advanced features available as independent gems, so the core remains lightweight until you need them.
This is the list of the current available extensions:
- Database connection pooling
- Enables database connection pooling through Tomcat and JNDI.
- Daemon
- Enables to run Trinidad as a daemon. Available for unix, solaris, and macos x systems.
- Hot deploy
- Allows to do hot deployments monitorizing a file, ala Passenger.
- Sandbox
- Management console and REST api
You can find further information on how to write your own extension in its wiki page.
getting the source
from github: http://github.com/calavera/trinidad
git clone git://github.com/calavera/trinidad.git