Skip to content

Instantly share code, notes, and snippets.

@mattes
mattes / rails-google-compute-deploy.md
Last active July 29, 2024 04:08
My own Heroku in 30 mins

Deploy Rails apps to Google Cloud Compute Engine

  • Zero Downtime
  • Graceful shutdowns
  • Via Github Actions
  • Zero infrastructure management overhead

Overview

The general idea is to have Github Actions test, build and deploy a Rails app to Google Cloud Compute Engine.

@maxivak
maxivak / __readme.md
Last active May 26, 2023 03:50
Custom Rails Mailer

Custom Rails Mailer (custom deliver_method)

ActionMailer deliver_method can be different like :smtp, :test, etc.

We will create a new custom delivery method to do something along with (or instead of) sending email.

Create class for delivery