Skip to content

2can/kokpit

 
 

Repository files navigation

Kokpit

A simple dashboard framework written in AngularJS.

How to Use

git clone https://github.com/nukomeet/kokpit
cd kokpit
bundle

Run it as:

foreman start

Web application will be accessible at localhost:5000.

Requirements

You need Ruby 1.9.3, NodeJS and Redis running and up.

Backend

Workers use Sidekiq. Add your worker to workers/ directory and define its frequency in clock.rb.

How-To

Deploy on Heroku

Development Mode (1 process)

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

Production Mode

heroku create NAME
git push heroku master
heroku ps:scale clock=1 worker=1 web=1

About

Your favourite dashboard framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 87.6%
  • Ruby 12.4%