A simple dashboard framework written in AngularJS.
git clone https://github.com/nukomeet/kokpit
cd kokpit
bundle
Run it as:
foreman start
Web application will be accessible at localhost:5000
.
You need Ruby 1.9.3, NodeJS and Redis running and up.
Workers use Sidekiq. Add your worker to workers/
directory and define its
frequency in clock.rb
.
Comment this line:
handler { |worker| Object.const_get(worker).perform_async() }
and uncomment this one:
handler { |worker| Object.const_get(worker).new.perform() }
From Procfile
remove this line:
worker: bundle exec sidekiq -r ./clock.rb -q kokpit
heroku create NAME
git push heroku master
heroku ps:scale clock=1 worker=1 web=1