From 6080571f0eb93ee97d08665907d8912e60cdc543 Mon Sep 17 00:00:00 2001 From: adevadeh Date: Tue, 31 May 2011 22:48:54 -0700 Subject: [PATCH] Just added install instructions and usage for Rails 3 --- README | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README b/README index 4b9db1c..327cce6 100644 --- a/README +++ b/README @@ -1,8 +1,14 @@ Daemon Generator ================ +To install: +> rails plugin install https://github.com/dougal/daemon_generator.git + To get yourself rolling: > sudo gem install daemons +> rails generate daemon + +# for Rails 2.x > ./script/generate daemon Then insert your code in the lib/daemons/.rb stub. All pid's and logs will live in the normal log/ folder. This helps to make things Capistrano friendly.