For mina 0.3.0
please take a look at v0.3.0 branch
- mina, '> 1.0'
- mina-data_sync
- mina-dox
- mina-secrets
- mina-whenever
Removed mina-delayed_job as we are moving towards delayed_job in processes. github
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
:restart_application # restart passenger
:'background_workers:restart'
:'background_workers:start'
:'background_workers:stop'
:'background_workers:status'
:link_sidekiq_assets
Feel free to add your own tasks
The gem is available as open source under the terms of the MIT License.