Heroku Rake Deploy Gem Release

25 November 2016

Heroku Rake Deploy

Heroku Rake Deploy

I’ve extracted the app deployment logic from Heroku Ops into its own gem. It’s just a simple deploy script that comes in two flavors:

  • quick pushes your code and restarts your Heroku app
  • deploy backs up your remote heroku database, deploys code, runs migrations, and restarts the server.

Check out the github page for quickstart and a more detailed description.

Thanks for checking it out, and let me know if there are any useful things you’d like to see added to it.

Read More...

Heroku Ops Gem Update

25 November 2016

HerokuOps

HerokuOps Updates

Functionality remains largely the same in this gem release. The major change here is extracting subsections of its logic into two other gems:

Check out the github page for quickstart and a more detailed description.

Thanks for checking it out, and let me know if there are any useful things you’d like to see added to it.

Read More...

Heroku DB Restore Gem Release

25 November 2016

Heroku DB Restore

Heroku DB Restore

I’ve extracted the DB Restore logic from Heroku Ops into its own gem. These tasks focus on cloning a Heroku apps database into your local dev db. We use this a lot to troubleshoot production bugs. Simply clone the db, replicate the problem and you’re off!

Check out the github page for quickstart and a more detailed description.

Thanks for checking it out, and let me know if there are any useful things you’d like to see added to it.

Read More...

HerokuOps Initial Release

25 October 2016

HerokuOps

Presenting HerokuOps

Whenever I bootstrap an app, I follow the same steps for Heroku. Create a staging and production app. Assign them to a pipeline. Provision the same 5 free tier addons per app. Deploy each app. All told, that usually adds up to 20-30 minutes for each new project. I’ve moved this code into a dev-ops gem, HerokuOps. This first version is extremely opiniated, but flexibility, refactors and even more features will come soon.

gem "heroku_ops", group: :development

Read More...

Building Shareable Rake Tasks with a Gem

25 October 2016

Rake

Too much Repition

The situation: lots of projects, and you’ve got important code to share. Except in this case, your code are rake tasks for devops, and you can’t just throw it into a module within a gem and have it run properly. Sharing rake tasks via a gem is slightly more complex than sharing module or code classes with a gem, so read on to see how I made it happen.

Read More...

Previous Page: 6 of 11 Next