Sha256: d2bf14ee874fb7a7c7e46d4a9846be785fc5bb3f06178e21da56af7869ebe635

Contents?: true

Size: 1.38 KB

Versions: 2

Compression:

Stored size: 1.38 KB

Contents

# Mina::Infinum

For `mina 0.3.0` please take a look at [v0.3.0 branch](https://github.com/infinum/mina-infinum/tree/v0.3.0)
## Plugins

* [mina](https://github.com/mina-deploy/mina), '> 1.0'
* [mina-data_sync](https://github.com/d4be4st/mina-data_sync)
* [mina-dox](https://github.com/infinum/mina-dox)
* [mina-secrets](https://github.com/infinum/mina-secrets)
* [mina-whenever](https://github.com/mina-deploy/mina-whenever)

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

## Setup

``` ruby
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, upstart (default)
set :sidekiq_web_namespace, <SIDEKIQ_WEB_MOUNT>  # Used for creating symlink to Sidekiq assets in public/
```

Background workers name:

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

## Tasks

``` ruby
: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](http://opensource.org/licenses/MIT).

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mina-infinum-1.9.0 README.md
mina-infinum-1.8.0 README.md