Permalink
Browse files

README changed

  • Loading branch information...
Danil Pismenny
Danil Pismenny committed Jan 1, 2011
1 parent e99aa72 commit 70e1328176283b0381272864f761f0fbd4427bb8
Showing with 11 additions and 8 deletions.
  1. +4 −0 .gitignore
  2. +5 −4 README.rdoc
  3. 0 {test/rails → rails_example}/.gitignore
  4. +2 −4 {test/rails → rails_example}/Gemfile
  5. 0 {test/rails → rails_example}/Rakefile
  6. 0 {test/rails → rails_example}/app/controllers/application_controller.rb
  7. 0 {test/rails → rails_example}/config.ru
  8. 0 {test/rails → rails_example}/config/application.rb
  9. 0 {test/rails → rails_example}/config/boot.rb
  10. 0 {test/rails → rails_example}/config/database.yml
  11. 0 {test/rails → rails_example}/config/environment.rb
  12. 0 {test/rails → rails_example}/config/environments/development.rb
  13. 0 {test/rails → rails_example}/config/environments/production.rb
  14. 0 {test/rails → rails_example}/config/environments/test.rb
  15. 0 {test/rails → rails_example}/config/initializers/backtrace_silencers.rb
  16. 0 {test/rails → rails_example}/config/initializers/inflections.rb
  17. 0 {test/rails → rails_example}/config/initializers/mime_types.rb
  18. 0 {test/rails → rails_example}/config/initializers/secret_token.rb
  19. 0 {test/rails → rails_example}/config/initializers/session_store.rb
  20. 0 {test/rails → rails_example}/config/locales/en.yml
  21. 0 {test/rails → rails_example}/config/routes.rb
  22. 0 {test/rails → rails_example}/db/seeds.rb
  23. 0 {test/rails → rails_example}/lib/dancers.rb
  24. 0 {test/rails → rails_example}/lib/tasks/.gitkeep
  25. 0 {test/rails → rails_example}/public/404.html
  26. 0 {test/rails → rails_example}/public/422.html
  27. 0 {test/rails → rails_example}/public/500.html
  28. 0 {test/rails → rails_example}/public/favicon.ico
  29. BIN {test/rails → rails_example}/public/images/rails.png
  30. 0 {test/rails → rails_example}/public/index.html
  31. 0 {test/rails → rails_example}/public/javascripts/application.js
  32. 0 {test/rails → rails_example}/public/javascripts/controls.js
  33. 0 {test/rails → rails_example}/public/javascripts/dragdrop.js
  34. 0 {test/rails → rails_example}/public/javascripts/effects.js
  35. 0 {test/rails → rails_example}/public/javascripts/prototype.js
  36. 0 {test/rails → rails_example}/public/javascripts/rails.js
  37. 0 {test/rails → rails_example}/public/robots.txt
  38. 0 {test/rails → rails_example}/public/stylesheets/.gitkeep
  39. 0 {test/rails → rails_example}/script/rails
View
@@ -50,3 +50,7 @@ pkg
/test/rails/log/dancer1.pid.lock
/test/rails/log/dancer2.pid
/test/rails/log/dancer2.pid.lock
+/rails_example/log/dancer1.pid
+/rails_example/log/dancer1.pid.lock
+/rails_example/log/dancer2.pid
+/rails_example/log/dancer2.pid.lock
View
@@ -1,14 +1,15 @@
= LoopDance
-No forks. No threads. Just looped scheduler based on `daemon_controller` and `looper`
+No forks. No threads. Just looped scheduler based on `daemon_controller` and `looper`.
+We call it 'Dancer'.
== Easy to install
gem 'loop_dance'
== Simple to setup
-Just create file 'lib/loop_dance.rb':
+Create file 'lib/loop_dance.rb':
class Dancer1 < LoopDance::Dancer
@@ -26,9 +27,9 @@ LoopDance automatically starts at the rails 3 server startup.
== Useful management
-From the application:
+From the rails application:
- Dancer.controller.start unless Dancer.controller.running?
+ Dancer1.controller.start unless Dancer1.controller.running?
By the rake tasks (TODO):
File renamed without changes.
@@ -5,11 +5,9 @@ gem 'rails', '3.0.3'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
-gem "loop_dance", :path => '../../'
+gem "loop_dance", :path => '../'
-gem "ruby-debug"
-
-gem 'sqlite3-ruby', :require => 'sqlite3'
+#gem 'sqlite3-ruby', :require => 'sqlite3'
# Use unicorn as the web server
# gem 'unicorn'
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 70e1328

Please sign in to comment.