Skip to content

rdev5/rake_tasks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Rake Tasks

This repo is a collection of standard rake tasks I pull down for most projects.

deploy.rake

These tasks make deploying to Heroku easier:

rake deploy            # Alias for deploy:staging
rake deploy:staging    # Push master to staging remote, plus migrate
rake deploy:production # Push master to production remote, plus migrate

pg_sync.rake

These tasks make moving data around Heroku apps easier. If you use Postgres locally, you can use them to even pull down data locally.

rake pg_sync:production_to_local   # Capture a backup of production and restore to your local database
rake pg_sync:production_to_staging # Capture a backup of production and restore to your staging database
rake pg_sync:staging_to_local      # Capture a backup of staging and restore to your local database

rspec.rake

Since installing Rspec doesn't make you a nice Rake task like Cucumber does, I've been carrying this task around on projects. All it does is run all your specs:

rake spec # Run all specs

About

Standard rake tasks for a Rails app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published