github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

jmettraux / ruote_plugin

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 13
    • 2
  • Source
  • Commits
  • Network (2)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

WARNING : work on this sub-project has ceased. A Rails plugin (Ruote, open source ruby workflow engine) — Read more

  cancel

http://openwferu.rubyforge.org

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

deprecation notice 
jmettraux (author)
Thu Oct 22 00:16:41 -0700 2009
commit  710e6fabe2164a9b9f23d223f169e5dd3e1dddd9
tree    f015f1b2b1d47d9ce6211bd504dec364175c6a89
parent  2ab8c1871fe20cd742fb302b8e167cfb9768c91e
ruote_plugin /
name age
history
message
file CHANGELOG.txt Tue Mar 31 04:29:37 -0700 2009 patch #25049 : RAILS_ROOT issue for logs/ and w... [jmettraux]
file CREDITS.txt Sat Jan 24 21:07:51 -0800 2009 bug #23691 : active_participants not visible an... [jmettraux]
file LICENSE.txt Wed Mar 04 03:51:46 -0800 2009 fixed participant_map issue and moved to MIT Li... [jmettraux]
file README.txt Thu Oct 22 00:16:41 -0700 2009 deprecation notice [jmettraux]
file Rakefile Tue Sep 16 01:42:27 -0700 2008 initial commit [jmettraux]
directory generators/ Sun Mar 08 00:32:57 -0800 2009 switched to ar_participants [jmettraux]
file init.rb Tue Mar 31 04:24:54 -0700 2009 Fixed some missing RAILS_ROOT references, switc... [kennethkalmer]
file install.rb Tue Sep 16 01:42:27 -0700 2008 initial commit [jmettraux]
directory lib/ Wed Mar 04 03:51:46 -0800 2009 fixed participant_map issue and moved to MIT Li... [jmettraux]
directory tasks/ Sun Jan 25 16:06:08 -0800 2009 small fix (missing do) [jmettraux]
directory test/ Fri Sep 19 00:22:40 -0700 2008 back to the 'no tests' state [jmettraux]
file uninstall.rb Tue Sep 16 01:42:27 -0700 2008 initial commit [jmettraux]
README.txt
= ruote_plugin

WARNING : since this sub-project is ruote 0.9.x based, work has ceased here for now. see 
http://github.com/jmettraux/ruote-http and http://github.com/kennethkalmer/ruote-kit

WARNING : ruote, as a workflow engine, currently relies heavily on threading. So a multiprocess deployment target is not 
OK. Passenger is not OK either.


== Overview

Minimal integration of Ruote into a Ruby on Rails application

Once installed, the plugin will add a ruote_engine method to your controllers so that you get access to workflow engine 
quite easily.

You can also access the engine directly via 

  RuotePlugin.ruote_engine

Note that the plugin also adds a shutdown hook to your application to make sure the workflow engine gets stopped in a 
clean way.


== Usage

Two steps : getting the plugin and then using it to generate the db migrations necessary to the Ruote workflow and bpm 
engine.

=== get the plugin into vendor/plugins

Three ways to do that. (a) is the most straightforward. If you need to track the development of the ruote_plugin (b) or 
(c) are probably better.

(a) the script/plugin way

in your Rails application do :

  script/plugin install git://github.com/jmettraux/ruote_plugin.git

(b) the .git way

  cd vendor/plugins
  git clone git://github.com/jmettraux/ruote_plugin.git

(c) the git submodule way

your Rails application needs to be a git working copy

see http://woss.name/2008/04/09/using-git-submodules-to-track-vendorrails/

  git submodule add git://github.com/jmettraux/ruote_plugin.git vendor/plugins/ruote_plugin

=== generate the migrations

Two variants here, 'basic' or 'all'. I recommend 'basic', it will create the tables for workitems and for history. 'all' 
will create tables for expression persistence. If your admin is more confortable with database backups than with 
filesystem backups then 'all' (b) is for you.

The migrations will be found under db/migrate/ as should be.

(a) 'basic'

  script/generate ruote_plugin basic

(b) 'all'

  script/generate ruote_plugin all


=== install Ruote and its dependencies

The plugin comes with 2 rake tasks for installing the workflow engine itself, either inside of 
vendor/plugins/ruote_plugin/lib_ruote with all its dependencies, either as a gem (plus gem dependencies).

  rake ruote:install

or

  rake ruote:gem_install


== Links

http://openwferu.rubyforge.org
http://rubyforge.org/projects/openwferu
http://github.com/jmettraux/ruote_plugin

ruote-web2 is the first 'client' application of this plugin :
http://github.com/jmettraux/ruote-web2


== Feedback

user mailing list :        http://groups.google.com/group/openwferu-users
developers mailing list :  http://groups.google.com/group/openwferu-dev

issue tracker :            http://rubyforge.org/tracker/?atid=10023&group_id=2609&func=browse

irc :                      irc.freenode.net #ruote

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server