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

preview_player
Показать описание
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.

🤯 Contribute on Patreon

⏱️ 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
08:50 - deploy commands
12:30 - heroku CLI demo

💌 Newsletter:

🪐Elsewhere:

💭Concepts:
* Heroku

📚Resources:

🎬 Subscribe!

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
Рекомендации по теме
Комментарии
Автор

What if you mistakenly set the remote branch to production instead of staging and deployed? How do I reverse production and then deploy to staging?

patrickdezenzio