Skip to content

jetruby/mina-rpush

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mina-rpush

Mina tasks for rpush deployment.

Installation

# Gemfile
gem 'mina-rpush', require: false

Usage

# config/deploy.rb

require 'mina/rpush'

task deploy: :environment do
  deploy do
    ...

    on :launch do
      ...
      invoke 'rpush:restart'
    end
  end
end

Tasks

mina rpush:restart  # Restart rpush (stop + start)
mina rpush:start    # Start rpush
mina rpush:stop     # Stop rpush
mina rpush:push     # Deliver all pending notifications
mina rpush:status   # Shows status of the running Rpush instance

Thanks

Thanks to the author of mina-clockwork for giving me a starting point in developing this gem.

Contributing

Feel free to contribute!

About

Mina tasks for Rpush deployment.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%