How to deploy Rails to a Staging Environment

  Рет қаралды 5,249

GoRails

GoRails

Күн бұрын

Пікірлер: 11
@darkpill
@darkpill 3 жыл бұрын
I’m giving this one a thumbs up already. 👍🏻
@pk-all-day
@pk-all-day Жыл бұрын
Helpful. Thank you!
@justicerie
@justicerie 3 жыл бұрын
Super helpful video once again, thanks Chris.
@rjmccollam2626
@rjmccollam2626 3 жыл бұрын
Very very excited about this. Hoping for some Hatchbox specific examples.
@GorailsTV
@GorailsTV 3 жыл бұрын
Covered Heroku but the same applies anywhere. ❤️
@ameft
@ameft 3 жыл бұрын
I always had a staging app on heroku which is identical as the production app (also as environment), when your approach of creating a specific staging environment in rails better?
@GorailsTV
@GorailsTV 3 жыл бұрын
You can use it to modify how the app works (like with email interceptors, different credentials, etc) if it's marked as staging instead of production.
@johnquarto
@johnquarto 3 жыл бұрын
I have a question which really struck me as not-optimal: around 9:15 or so you describe setting up a remote for heroku-staging since a remote of heroku is already set for production. It seems to me, if you're going to do the entire effort of setting up a staging environment, that you should redefine the heroku remote to point at your staging environment. The reason being that if you're going to use a heroku pipeline then why would you ever want to push directly to production from the CLI? All you can do is hurt yourself. You always would want to push to staging. and then in the Heroku pipeline dashboard promote from staging to production. Given that not all your projects will need pipelines, there's a real chance you will mistakenly type 'git push heroku main' and then goof up your production server. Just remove that chance altogether (or if you must, give production its own 'heroku-production' remote name as a just-in-case).
@GorailsTV
@GorailsTV 3 жыл бұрын
Yep, if you are using pipelines you can do that.
Dynamic Select Fields in Rails using Hotwire
19:46
GoRails
Рет қаралды 25 М.
Кто круче, как думаешь?
00:44
МЯТНАЯ ФАНТА
Рет қаралды 4,1 МЛН
Car Bubble vs Lamborghini
00:33
Stokes Twins
Рет қаралды 42 МЛН
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 86 МЛН
ЛУЧШИЙ ФОКУС + секрет! #shorts
00:12
Роман Magic
Рет қаралды 34 МЛН
How to use Meilisearch in Rails
20:10
GoRails
Рет қаралды 7 М.
Ruby on Rails: Deploying to a VPS
18:33
M.U.P
Рет қаралды 1,7 М.
Deploy Ruby on Rails To Production in 2019
32:39
GoRails
Рет қаралды 43 М.
Background Processing with Rails, Redis and Sidekiq
15:00
Decypher Media
Рет қаралды 61 М.
Kamal 1.0
19:17
37signals
Рет қаралды 24 М.
One Time Payments With Pay And Stripe
39:24
GoRails
Рет қаралды 1,6 М.
How to Deploy Rails to Render
25:16
GoRails
Рет қаралды 11 М.
Handy remote!
0:25
LeraKek
Рет қаралды 4,9 МЛН
The M4 Mac Mini is Incredible!
11:45
Marques Brownlee
Рет қаралды 5 МЛН
Обзор Pixel 9 Pro / XL
16:17
Rozetked
Рет қаралды 452 М.