Creating a pipeline and staging environment in Heroku with Ruby on Rails

Deploying an application out to the 'Real Internets' can be scary. Setting up a DigitalOcean account, setting up Linux, IPTables, etc. I'm not going to do any of that in this video. We're going to use Heroku. Because lazy. Also, because it's just me and I have too much to do. But really, Heroku is great, and (if you want to use DO / AWS / Docker), that's super cool too. For now, we'll just stick to Heroku as we build out this little project.
In this video I setup a Heroku Pipeline and a staging environment.
⏱️ Timestamps:
  • 00:00 - Introduction
  • 01:10- Readme
  • 01:16 - Heroku CLI
  • 01:40 - Heroku Pipeline
  • 02:20 - Staging app
  • 04:30 - Heroku PostgreSQL addon
  • 06:00 - Environment Variables
  • 07:08 - Procfile
  • 07:50 - Staging.rb
  • 08:50 - deploy commands
  • 12:30 - heroku CLI demo

�� Newsletter:
  • https://www.programmingtil.com/

��Elsewhere:
  • Twitter: https://twitter.com/davidwparker
  • Twitter: https://twitter.com/programmingtil
  • GitHub: https://github.com/davidwparker

💭Concepts:
  • Heroku

📚Resources:
  • https://github.com/davidwparker/programmingtil-rails/tree/ep9
  • https://www.heroku.com/
  • https://devcenter.heroku.com/articles/heroku-cli

🎬 Subscribe! http://bit.ly/subdavidwparker
My name is David W Parker and I’m creating and publishing videos on ProgrammingTIL to help teach anyone and everyone who wants to code. I’m a huge fan of Ruby on Rails, Svelte, TailwindCSS, and WebGL. I’ve used React a lot in the past, as well as some Vue and AngularJS. I’ve done some professional Python and Django. I like to create real applications and my tutorials will walk you through how to build something real from beginning-to-end.

ruby #rails #rubyonrails #heroku

© programmingtil.com