Skip to content

dummy rails project on backround jobs and streaming #learning

Notifications You must be signed in to change notification settings

kleopatra999/cowsay-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dummy rails project #learning

Features

  • Everyone can receive messages from the cow
  • You ask us to poke the cow, and when the job is done (backgroud job) you get a message (live page update)
  • You can ask to massage the cow, and this will make the cow to post a message every minute (recurring job)

TODO:

  • recurring job: ActiveJob::Scheduler, Sidekiq / Sidetiq::Schedulable
  • clear tasks when connection is closed (not all, but only this user tasks)
  • ??? ActionController::Live::ClientDisconnected
  • Notify when someone is massaging the cow

Setup

required packages: cowsay, fortune

# install on ubuntu
sudo apt-get install -y fortune-mod cowsay

Run

foreman start

About

dummy rails project on backround jobs and streaming #learning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 79.6%
  • HTML 14.5%
  • CoffeeScript 3.3%
  • CSS 2.6%