Mina::Infinum

For mina 0.3.0 please take a look at v0.3.0 branch

Plugins

Removed mina-delayed_job as we are moving towards delayed_job in processes. github

Setup

set :application_name, <APP_NAME>                # Used in background workers tasks
set :background_worker, <WORKER_NAME>            # Used in background workers tasks (eg. 'dj')
set :service_manager, <SERVICE_MANAGER>          # systemd (default), upstart
set :sidekiq_web_namespace, <SIDEKIQ_WEB_MOUNT>  # Used for creating symlink to Sidekiq assets in public/

Background workers name:

[fetch(:background_worker), fetch(:application_name), fetch(:rails_env)].join('-') # dj-labs-production

Tasks

:restart_application # restart passenger
:'background_workers:restart'
:'background_workers:start'
:'background_workers:stop'
:'background_workers:status'
:link_sidekiq_assets

Contributing

Feel free to add your own tasks

License

The gem is available as open source under the terms of the MIT License.