No commit activity in last 3 years
No release in over 3 years
Rake tasks to manage an Heroku Application (Deploy tasks, DB tasks, ...)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.6
>= 0
 Project Readme

HerokuRakeTasks

Rake tasks to manage an Heroku Application

Gem Version Code Climate Dependency Status

Installation

Add this line to your application's Gemfile:

gem 'heroku_rake_tasks'

And then execute:

$ bundle

Or install it yourself as:

$ gem install heroku_rake_tasks

Usage

rake h:config                  # Display the application env vars
rake h:console                 # Start a Rails console
rake h:db:dump                 # Dump the remote database and download it to ./remote.dump
rake h:db:get                  # Download the latest remote database capture to ./remote.dump
rake h:db:restore              # Restore the local database from ./remote.dump
rake h:db:sync                 # Sync the remote database with the local one
rake h:dbconsole               # Start a DB console
rake h:deploy                  # Deploy the application
rake h:deploy:commits          # Show the deployment-pending commits log
rake h:deploy:diff             # Show the deployment-pending source code changes
rake h:deploy:migrate          # Deploy the application and run the migration(s)
rake h:logs                    # Display recent log output for the application
rake h:logs:tail               # Tail the logs for the application
rake h:ps                      # List the application dynos
rake h:restart                 # Restart the application
rake h:psql                    # Start a PostgreSql console

With a remote

rake h:config production

Without a remote

If no remote is defined, the "heroku" remote used will be used by default

rake h:config                  # same as rake h:config heroku

If a "staging" remote is found, it will be used over "heroku".

rake h:config                  # same as rake h:config staging, if a staging remote is found

Remote alias

rake h:config p                 # production remote
rake h:config s                 # staging remote

Contributing

  1. Fork it ( https://github.com/[my-github-username]/heroku_rake_tasks/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request